LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need some help with graphs

Can anyone help me out? I would like to have different labeled Y axis's.

What I mean is I would like to see Tempeture on the left side of the graph,
say 0 to 300 Kelvin and Pressure on the right side of the graph (O mabr to
1x10-5mbar). Both of these would both share the same x value, time.
I haven't been able to figure out how to do this or if this is even possible.
I don't want to have 2 different graphs side by side. Does anyone know if
this is possible and if so how? Thanks for your time!
Greg
0 Kudos
Message 1 of 3
(2,855 Views)
The easiest way is to upgrade to LabVIEW 6. For other versions, refer
to the LabVIEW FAQ at www.icon-tech.com.au/thelabviewfaq.html
0 Kudos
Message 2 of 3
(2,855 Views)
LabVIEW 6i is definitely the easiest way to go here--the dual-Y axis
functionality is built-in for the first time, and the vertical text
option makes it easier to label Y axes.

If 6i isn't an option, my favorite way to simulate a second Y axis in
5 and earlier is to use a customized "Simple Vertical Slide" control
(attached). Drop a slider on your panel and choose Edit>>Edit
Control. In the editor, move the slider housing box to the left of
the scale, the scale numbers to the right of the scale, and
left-justify the numbers. Back on the diagram, paint the arrows and
the slider transparent, hide the label, and then position the
resulting control on the right-hand side of the graph to make a
nice-looking second Y axis.

The trick to using this second axis is to pro
grammatically scale
(multiply) your pressure plot values to fit within the range of the
left-hand temperature axis. Then, using an attribute node, you can
modify the min and max values of your custom slider control/second Y
axis to indicate the real range of your pressure plot.

Regards,
John Lum
0 Kudos
Message 3 of 3
(2,855 Views)