05-17-2011 02:40 AM
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.
05-17-2011 03:55 AM
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:
05-17-2011 05:15 AM
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.
05-17-2011 05:59 AM
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.