LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

stacked plots

Here is a hacked up demo in 7.0 format.

 

Message 11 of 17
(1,847 Views)

Hi Evan, UncleBump,

     Evan You-da-man!, that's really cool!  Yet I doubted the Y-auto-scale would work - until UncleBump's example (thanks Unc! ).

I tried (unsuccessfully) to modify UncleBump's example to plot one set of points at a time.  In Fataneh's case, 16 new points, two per scale. 

To be honest, I'm not really understanding the underlying chart-"engine" or what these properties are manipulating.  It seems: each set of axis are capable of multiple-plots and a specific "Y-Scale" refers to a specific axis.  When configured as stacked, multiple Y-Scales (axis') are created, and, each incomming plot gets assigned to a [default] Y-Scale.  Evan is "rewiring" the default plot/Scale , re-directing multiple plots to certain axis'(?)  HEYee, I just stretched the plot-legend and it changed the way plots were drawn.  I'm soooo, confused. Smiley Sad

 

 

When they give imbeciles handicap-parking, I won't have so far to walk!
0 Kudos
Message 12 of 17
(1,840 Views)
The number of plots showing in the legend determines how many Y-scales are present in the stacked plots. If the data has more plots than the legend, all of the extra plots default to plot 0.
Message 13 of 17
(1,830 Views)
Thanks UncleBump.  I'm glad Fataneh persisted (and that Evan replyed), this chart flexibility is good to know about - hope I remember it when the time comes. Smiley Wink
When they give imbeciles handicap-parking, I won't have so far to walk!
0 Kudos
Message 14 of 17
(1,817 Views)

Hi UncleBump and Dynamik,

This is great. Thanx a bunch for all the solutions and discussions. I haven't had a chance to really dive into UncleBump's example vi but I will in a short while and hopefully I'll be able to understand it. Thanx again to all.

Fataneh

0 Kudos
Message 15 of 17
(1,802 Views)

The Vi attached in above post is the same thing I am looking. However I could not understand and so could not modify the vi. My requirement is that I have 6 variables (2 in each) going in 3 stacked plots in single waveform chart. My whole program is in while loop and these variables repeatedly changes in every loop...Can anyone modify this vi or can explain how I can plot 6 variables in 3 stacked plots...

 

What I get from the vi is that: external for loop is for data feeding and internal for loop is for no. of variables...

0 Kudos
Message 16 of 17
(1,239 Views)

it still frustrating.....

0 Kudos
Message 17 of 17
(1,214 Views)