LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Merge 2 graphs into 1 stacked graph

Hello. I currently have 2 graphs both overlayed with 3 plots.

I really want to take these to graphs and stack them but while keeping the 3 plots as overlays.

Basically have 2 sets of 3 plots overlayed in a stacked graph.

Is there a property node or function somewhere that will allow me to do this ?

Currently imputting a cluster of 3 elements into a single chart.

0 Kudos
Message 1 of 5
(3,747 Views)

Hi Scottie,

 

don't mix the term "chart" and "graph" as you do now: these are two very different things in LabVIEW!

 

Create a chart with two stacked plots. Now plot your 6 plots (2 charts with each 3 plots) and assign each plot to the chart you want them to display using the plot legend:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(3,725 Views)

Sorry it is a chart.

And i cant find the property for Plot Legend. can you be more specific where it is ?

0 Kudos
Message 3 of 5
(3,718 Views)

Hi Scottie,

 

do you see the image in my last post? The plot legend is top right…

 

Extend the legend to show your 6 plots. Right-click each plot and select the Y-axis (=chart area) where you want to display that plot. Then shrink the legend to show just two plots, which in turn will also just two stacked plot areas. Now plot your data of these 6 plots…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(3,711 Views)

Ok got that woking. However even when i shirink it back down to 2 plots i stil get all 6 charts with data only showing on the first 2. I believe its auto plotting the y axis based on the cluster input. 

0 Kudos
Message 5 of 5
(3,691 Views)