04-09-2017 11:57 AM - edited 04-09-2017 11:58 AM
Dears,
I would be grateful if someone can help me to know how to do automatic zoom in when I am running the code without using the picture's tools. I've tried to find any helpful property in the property node but I couldn't find something can help me to solve this issue. Any support? thanks in advance
Solved! Go to Solution.
04-09-2017 02:46 PM
Not sure what you mean by "automatic" zoom in.
But if you turn OFF AutoScaling (both X and Y), then you can set the XSCALE.MIN, XSCALE.MAX, YSCALE.MIN, and YSCALE.MAX from properties. The graph will then show that range.
From there you can implement some sort of zoom if you want - have a center point and a smaller and smaller deviation to provide a zooming-in appearance.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
04-10-2017 09:29 AM
Hi Steve,
Thanks for your feedback, Can you please tell me how to turn off the autoscaling? Thanks in advance
Regards
04-10-2017 09:47 AM
Did you try looking in the properties of the graph?
Blog for (mostly LabVIEW) programmers: Tips And Tricks
04-10-2017 09:50 AM - edited 04-10-2017 09:50 AM
yeah, I haven't seen something related to auto scale, Have you?
04-10-2017 10:07 AM
04-10-2017 10:12 AM
OOh, thank you, I thought you mean inside the property node!!
04-10-2017 10:25 AM
Excuse me, I wonder if there is a way to enter the values of zooming scale for x and y coordinates by using the code rather than doing it manually? Thanks in advance
04-10-2017 10:36 AM - edited 04-10-2017 10:37 AM
To change the limits of the scale, you can use the property node with the entries 'XScale.Maximum' or 'YScale.Minimum' and so on. They're under X Scale/Y Scale > Range > Minimum/Maximum.
This forum post describes autoscaling programmatically. 10degree's post seems particularly helpful. I'm sorry for the picture earlier - I had thought you were trying to avoid property nodes. My mistake!
04-10-2017 10:44 AM
you are amazing. thank you