LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple plot/graph question

I inherited the attached multi plot - originator is not here anymore. It's Monday and my brain is not functioning yet. Can someone tell me how to reduce the number of plots to 4 from the existing 9. I have done it before but, like I said, it's Monday. Thanks.
0 Kudos
Message 1 of 9
(3,709 Views)
Reduce the number of plots in the legend...

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 9
(3,709 Views)
Thanks, but that doesn't seem to do it.
0 Kudos
Message 3 of 9
(3,709 Views)
To clarify the question - the chart I am referring to is a stacked plot. There is an example of it in the examples section under general/graphs/charts.llb. Select charts.vi . In the center of the panel is a strip chart example labelled 2 plots stacked, 1 pt/update. How do you increase (or decrease) the number of stacked plots to 3? Resizing plot legend doesn't do it, unless there is some magical second step that I haven't figured out.
0 Kudos
Message 4 of 9
(3,709 Views)
> To clarify the question - the chart I am referring to is a stacked
> plot. There is an example of it in the examples section under
> general/graphs/charts.llb. Select charts.vi . In the center of the
> panel is a strip chart example labelled 2 plots stacked, 1 pt/update.
> How do you increase (or decrease) the number of stacked plots to 3?
> Resizing plot legend doesn't do it, unless there is some magical
> second step that I haven't figured out.
>

Charts take several datatypes. I believe the VI you are looking at is
using a cluster of scalars. Grow the bundler to add another element to
the cluster and the chart will automatically add another stacked plot
area. If the datatype is 2D, then the plot legend controls how many
stacks there are.


Greg McKaskle
0 Kudos
Message 5 of 9
(3,709 Views)
Attached is you VI that I modified so that a bundle of data is sent to the chart. This automatically dropped the stacked charts down to two--the number of data bundled.

Jeremy Braden
National Instruments
0 Kudos
Message 6 of 9
(3,709 Views)
Thanks - that does the trick. Had tried this but the bundler was in a sub vi and didn't seem to change anything when re-sized.
0 Kudos
Message 7 of 9
(3,709 Views)
OK - new issue with the strip chart. I'm getting multiple lines at the right hand edge of the chart. These lines tend to follow the main plot and, strangely, seem to increase in number if if I move the mouse (more appear the faster I move the mouse). I have attached a screen shot to illustrate. Is this a feature I need to turn off or something else?
0 Kudos
Message 8 of 9
(3,709 Views)
It looks like you may have a corrupted VI. Try changing the order the signals are bundled. If the error follows the signal, the problem might be with the signal. You can also place a new chart and wire the signal to it. If this works fine, make the new chart look as much like the old one as possible and delete the old chart. VIs are complicated and sometimes they become corrupted.

Jeremy Braden
National Instruments
0 Kudos
Message 9 of 9
(3,709 Views)