[Graph Mapper] How to snap graph's peak point exactly at 0.5(middle)?

Need Grid Snap in Graph Mapper.gh (8.9 KB)

I am trying to snap the peak point of the sine graph exactly at the middle of the X-axis.
I found manually doing it is not accurate.
Is there a way to turn on the grid snap function(like Rhino O-Snap), or input parameters somewhere to make it happen?
Thanks!

Here’s a workaround: I make the graph mapper wider and set the range to 2, so I have a mid-interval value, then place an output panel right near the point. I can drag the point so the mid-interval value is 0.99999. If I then zoom in to a high magnification of that part of the canvas (which is where the adjacent panel comes in) then I can adjust it to 1.0:

HTH
Jeremy

2 Likes

Thank you!
This is a good way.

Hi, you can also try this:

2 Likes

Yours is a better way! Thanks @msajdek

1 Like

Haha, Thank you very much!

1 Like