LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"Fill base line"/"Fill to" problem within stack plots

Hi there,

 

I try to plot multi data sets within the stack plots waveform chart. But I can't control the Fill To option correctly for the plots other than the first plot in the window. As attached, even I set the fill baseline to zero for the second plot (the green one) in the first window, it performs like fill to -infinity. I am using Labview 2010 DS2.

 

Any solution? Or, I made any mistake here?

 

Thanks.

0 Kudos
Message 1 of 4
(2,803 Views)

I agree things behave a bit weird if the number of traces is not a multiple of the number of stacked plots. Do you want three stacked plots or have two traces share one of the plots? Maybe you should use more defined data structures, e.g. an array where each element is a clusters of size=3.

 

Try the following:

 

  1. resize the plot legend so 4 stacked plots show.
  2. Now resize it again for two stacked plots.
In my case, the fill to zero is now correct.

 

0 Kudos
Message 2 of 4
(2,797 Views)

Thanks altenbach for your quick response.

 

Your suggestion works, although not perfect. When I tried to resize the 4 stacked plots to 2, the third one moved to the 2nd window (but the fill to zero works). If I changed it back to the 1st window, the fill to zero lost again.

 

I have multi plots need to be grouped in 5~6 chart windows in my program. I think I can try to bundle them and make things work.

 

Thanks.

0 Kudos
Message 3 of 4
(2,792 Views)

OK. After several trials, I failed to group my data in following way within the waveform chart.

 

Two stack plot windows (similar to the attached file in the first post)

 

  Plot window 1: 3 plots in this window, 1st is general plot without fill, both 2nd and 3rd one needs fill to zero.

  Plot window 2: 3 plots in this window, 1st is general plot without fill, both 2nd and 3rd one needs fill to zero.

 

 

I totally need 5 plot windows. But if above two works, I am supposing it should be easy to expand to 5.

 

Any suggestions?

 

Thanks.

0 Kudos
Message 4 of 4
(2,789 Views)