10-13-2020 10:41 AM
Is there a way to separate multiple waveforms on a waveform graph? I would like to display 6 waveforms with the same time frame, but I want to spread them out so they aren't on top of each other. Can this be done?
Solved! Go to Solution.
10-13-2020 10:53 AM
10-13-2020 12:01 PM
You can also choose Stack Plots on the right click menu.
10-13-2020 12:43 PM
Is that in the Properties page? I can't find anything that lets me do that.
10-13-2020 12:44 PM
Hi John,
@johntrich1971 wrote:
You can also choose Stack Plots on the right click menu.
This option is only available for charts IMHO.
The OP asked for a graph…
10-13-2020 12:44 PM
I found that under the Appearance tab, but it is grayed out. It looks like that is not an option for a waveform graph.
10-13-2020 01:13 PM
It's not pretty, but you can iterate over the array and modify each waveform to provide a y-offset. use "Get Waveform Components" to get the y-array and add a number to the y-array. build back into waveforms using "Build Waveform". make sure this modified data goes only to the graph (you don't want to propagating to any data analysis or file saves).
10-13-2020 01:19 PM
Hi pj,
@pjroland1121 wrote:
It's not pretty, but you can iterate over the array and modify each waveform to provide a y-offset. use "Get Waveform Components" to get the y-array and add a number to the y-array. build back into waveforms using "Build Waveform".
When you use an autoindexing FOR loop you don't need that BuildArray at the end.
You can use ADD directly with waveforms, so also no need for GetWfmComponents!
10-13-2020 01:21 PM
@GerdW wrote:
Hi John,
@johntrich1971 wrote:
You can also choose Stack Plots on the right click menu.
This option is only available for charts IMHO.
The OP asked for a graph…
You are correct. I hardly ever use graphs (and don't generally use this option for charts) so I had not noticed this. Thanks.
10-21-2020 08:17 AM
I tried your suggestion, and you're right on both counts: It does work and it isn't pretty.😄 I decided to simply put multiple waveform graphs into the display and split things out that way. With careful placement it all looks pretty good to the operator. Thanks for your suggestion though. It helps me understand Labview a little more each time I try something.