Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

how to do Stack Plots in WaveformGraph?

I want to plot multiple plots in single WaveformGraph, they share a same axis, but each plot has their own y-axis, and layout as stack. How to do it? It seems that lots of feature in LabView is missed in Measurement Studio.
 
Thanks,
 
 
Chen.
0 Kudos
Message 1 of 6
(4,672 Views)
Hi Chen,

We have an example here that implements what you're looking for.
Test Engineer - CTA
0 Kudos
Message 2 of 6
(4,654 Views)
This is not really stacked plots. There are multiple x-axes. It is just put multiple waveformgraph together. User can do it by themselves.
 
Using stacked plots, it will help when display multiple channel, such as 32 or 64 channels together. If use multiple waveformgraphes, it will significant slow down the screen update. The purpose of stacked plots is to imporve the speed, even when display up to 32 channels. Similiar to the sweep waveformgraph, the solution given by the your engineer is not the really solution.
 
Thanks,
 
Chen.
0 Kudos
Message 3 of 6
(4,646 Views)
cys,

To do that, go to your YAxes collection and add a new Yaxis. Then in the Plots collection, you can set a specific plot to use a specific Yaxis under the Axes property.
Test Engineer - CTA
0 Kudos
Message 4 of 6
(4,641 Views)
This is what I want to do. But in this way, the plots always overlay, no option for stack.
 
Thanks,
 
Chen.
0 Kudos
Message 5 of 6
(4,631 Views)
The only way to stack in Measurement Studio is to create an offset like the example does here: C:\Program Files\National Instruments\MeasurementStudioVS2005\DotNET\Examples\UI\WindowsForms\Graph\Plotting

However, there is no way to stack axes so you would be limited by the fact that the axes created would be to the left and thus not be like the LabVIEW chart. You can submit a product suggestion for this feature directly to R&D by selecting Product Feedback from this link.
Test Engineer - CTA
0 Kudos
Message 6 of 6
(4,617 Views)