# LabVIEW

cancel
Showing results for
Did you mean:

Solved!
Go to solution

## Does anyone know how to stack plots by group? I'm struggling. Read below to better understand what I mean (VI attached)

I know how to stack plots individually as shown below.

This below is what I would like to achieve but I just don't know how to go about achieving it. I want to group voltages in one chart and all the pressures on another chart. Both charts will be sharing the same x-axis (time).

Message 1 of 5
(465 Views)
Solution
Accepted by topic author GRCK5000

## Re: Does anyone know how to stack plots by group? I'm struggling. Read below to better understand what I mean (VI attached)

Hi GRCK,

@GRCK5000 wrote:

I want to group voltages in one chart and all the pressures on another chart. Both charts will be sharing the same x-axis (time).

Use two charts…

Best regards,
GerdW

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 5
(424 Views)
Solution
Accepted by topic author GRCK5000

## Re: Does anyone know how to stack plots by group? I'm struggling. Read below to better understand what I mean (VI attached)

it is definetly easier to use two charts as Gerd suggested.

but, you may consider a mixed signals graph using two groups.

note, this is a graph not a chart, so you need to built a buffer inside the loop for each plot to mimic a chart.

furthermore, you have to manually drag and drop plots from one group to another.

also, scaling a mixed signal graph is tricky compared to the usual graph and charts

1# set-up your .vi like this

Spoiler

2# spawn a fresh mixed signal graph and connect it to the last bundle array node

Spoiler

3# run the .vi once

Spoiler

4# spawn group 1 by rightclick> add plot area

Spoiler

5# resize the mixed graph area height  via Properties>Apperance from 219 (default) to 482

Spoiler

6# drag and drop plot 0, 1 , 2 into group 1

Spoiler

Message 3 of 5
(397 Views)

## Re: Does anyone know how to stack plots by group? I'm struggling. Read below to better understand what I mean (VI attached)

Thanks Gerdw! This will definitely work.

Message 4 of 5
(365 Views)

## Re: Does anyone know how to stack plots by group? I'm struggling. Read below to better understand what I mean (VI attached)

Thanks Alex! Your strategy is amazing. Also I like how you are showing the steps to get this done. Awesome!!!

Message 5 of 5
(363 Views)