LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2nd y-axis xy graph LV8 ?

I am trying to get a second y-axis to display.
 
I am able to get the second axis to appear but I'd like to create more "distance" between the two y-axis.
Is this possible?
 
Thanks.

Message Edited by nyc on 01-12-2006 10:35 AM

0 Kudos
Message 1 of 8
(3,328 Views)

Right click on the control and select Advanced >> Customize...

Here you can customize the control however you want.  To make it MUCH easier on you select Window>> Show Parts Window.

That brings up a nice window of all the parts, including the multiple axis.  You can easily change the position right there.  Once you are done you can replace the original graph with your new customized graph

0 Kudos
Message 2 of 8
(3,320 Views)
wow that is so cool.
 
If I am understanding this correctly, unless I create a custom control and save it, I won't be able to "spread out" the two y-axis?
 
Also, unless I do the Windows >> Show Parts, it doesn't seem like I can just select one of the y-axis?
When I left-click, the whole graph control is selected and I can't get to the individual parts.

Message Edited by nyc on 01-12-2006 11:23 AM

0 Kudos
Message 3 of 8
(3,318 Views)
The customize menu opens the control editor.  I would suggest reading the help on it to learn more about what all it can do for you. 
 
But for your first lesson 🙂 when you open the contol in the editor it starts in "edit" mode so you can't select the parts, this mode is simialr to when a VI is running.  The part window I showed you automatically changes the control to "customize" mode, same as edit mode of a VI.
 
To force the change your self click on the wrench next to the enum that says Control in the menu.  You could now select the axis and move it nicely.
 
In regards to your first ? whether this is the only way the answer is no.  You can use property nodes to move the axis around, however I think this manual method is by far the easiest.  It just depends on what your needs are.  Remeber to set the active axis and then to call the position property nodes.
0 Kudos
Message 4 of 8
(3,303 Views)
Okay, I see that to move the axis you actually having to select one of the numbers
and move it and that moves the axis.
 
Thanks. Got it now!

Message Edited by nyc on 01-12-2006 02:02 PM

0 Kudos
Message 5 of 8
(3,301 Views)

I can't figure out how to move the markers?

Only can seem to stretch them but not move.

0 Kudos
Message 6 of 8
(3,288 Views)
How would you like to move them?  Relative to the label, the plot?
 
Or are you just hoping to have fewer of them?  If it is this then you can right click on the graph in the VI itself and in the properties you can format the markers (scales).
 
For the record you do not have to save the graph as a ctl.  You can customize it and it will ask you if you wnat to save and it will ask if you want to replace the original.  You can sy no to save and yes to replace.
0 Kudos
Message 7 of 8
(3,282 Views)

Thanks for your patience in answering my questions.

I think I've finally got the handle on moving the axes.

You have to hover the mouse pointer over one of the markers on the axis.

Then when a markers becomes highlighted then left-click down and drag the mouse.

If the mouse pointer changes to a pointer that looks like arrows pointing in N-S-E-W directions that is to change the lengthwise size of the markers not to move the entire axis with markers.

Anyway, kinda tricky. Hope that helps people.

0 Kudos
Message 8 of 8
(3,270 Views)