It is currently May 1st, 2024, 5:00 pm
Graphs help
-
- Posts: 2
- Joined: November 25th, 2011, 12:24 am
Graphs help
I recently came back to Rainmeter with the itch to really do some harm. The thing I'm having an issue with at the moment is with meter lines. What i'm trying to do is make the graph go left to right instead of right to left. I was reading about transformation matrices and thought i was wrapping my head around it but I don't know if i was doing it wrong or if it doesn't work with meter lines. Anyway, any help would be appreciated.
-
- Moderator
- Posts: 1931
- Joined: January 29th, 2010, 1:43 am
- Location: Willmar, MN
Re: Graphs help
According to the Manual it's TransformationMatrix=-1;0;0;1;2x;0 where 2x is 2 times the x value of the meter.
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
-
- Posts: 2
- Joined: November 25th, 2011, 12:24 am
Re: Graphs help
Thanks for the reply, i tried it and it makes it disappear. Also tried it with an image and that disappeared as well.
EDIT: That was it, I had to adjust the x value that was already there to bring it back onto the panel. I just missed doing that before, Thanks for helping.
EDIT: That was it, I had to adjust the x value that was already there to bring it back onto the panel. I just missed doing that before, Thanks for helping.
-
- Moderator
- Posts: 1931
- Joined: January 29th, 2010, 1:43 am
- Location: Willmar, MN
Re: Graphs help
You'll have to play with the 2x part of that line. I just played with it a bit and in order to get it to flip on line 210, I had to set it to 205.
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
-
- Rainmeter Sage
- Posts: 889
- Joined: September 6th, 2011, 6:34 am
Re: Graphs help
The stuff that belongs into the last two numbers of the TransformationMatrix depends on the x Position and the width of the meter. When playing with TransformationMatrices you have to remember that all transformations are relative to the top left corner of the whole skin. If you use something like TransformationMatrix=-1;0;0;1;0;0 that means the meter is flipped around the left edge of the skin, which will make it disappear. You'll have to shift it back by adding 2*X+W to the matrix: TransformationMatrix=-1;0;0;1;2*X+W;0
Here X is the X position of the meter's left edge and W is the meter's width. You'll either have to calculate it and put a number into the matrix or use a Calc measure if the width or position are dynamic. Just putting that formula in there like in my code won't work.
Here X is the X position of the meter's left edge and W is the meter's width. You'll either have to calculate it and put a number into the matrix or use a Calc measure if the width or position are dynamic. Just putting that formula in there like in my code won't work.
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!