LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multi Y-scale zoom problem

I created two Y-scales on my XY Graph and attached one plot to each scale. The problem is that when i am trying to zoom the graph it changes both scales. I tried to set Active Scale before zooming but that didn' help.
 
Is it possible to zoom scales independently using Tools from Graph Palette?
0 Kudos
Message 1 of 7
(3,409 Views)
Hi Jonni,

It is not possible to zoom on separate axis, because all plots live in one view area, which is the object of the zoom function.
What you can do instead is to change the Min, Max values of each axis, which will zoom in on the y-axis. You could then set the Min Max values of the time axis to zoom in on the x-axis and this would work as a zoom.

Regards
JamesC
NIUK and Ireland
0 Kudos
Message 2 of 7
(3,396 Views)
To: JamesC
 
Could you please give some more details, it is not very clear what you are suggesting. (By the way i do not suppose to change x-axis at all)
0 Kudos
Message 3 of 7
(3,391 Views)
Hi Jonni,

I have attached an example in LabVIEW 8, you can change your Y-Axis range to zoom in on individual plots.

Regards
JamesC
NIUK and Ireland
0 Kudos
Message 4 of 7
(3,387 Views)
To: JamesC ,
 
Thanks for your example. As i understand you are suggesting to change scales typing new number. I know it is possible but not very convenient, that is way i am searching the way to change scales independently using zoom tool from graph palette. It looks like i will not succeed in that.
0 Kudos
Message 5 of 7
(3,379 Views)
Hi Jonni,

You are correct in assuming you can't use the zoom functionalitly for what you want to do, but you can use property nodes for setting the range of the axis. If you used a case structure you could have some predefined values for the range so you can use a drop down list (Enumerated control) to set different ranges and hence get a simple zoom effect.

Regards
JamesC
NIUK and Ireland
0 Kudos
Message 6 of 7
(3,373 Views)
To: JamesC
Thanks for an idea.
 
I was thinking to monitor mous up event on the graph and check if scale was changed (user used any zoom tools) and restore the scale which is not currently active. I think it will couse some not very good visual effects but it will give to user the possibility to use zooming tools independently on different scales.
0 Kudos
Message 7 of 7
(3,363 Views)