03-20-2018 07:11 AM
Hi All
I'm logging lot of variables in my software and I want to plot them on one plot using tab control widget. The data has no fixed time step and I can't use waveform to plot it - I have to use XY plot. so I'm logging data into arrays and then I'm Bundling arrays so they can be read by XY Plot. I'm multiplexing plots using Case structure. The problem is that some of data should be plotted as pair: readback & setpoint on one plot. It means that the size of cluster at the output of Case structure has different dimension for different plots...
I've figured out walk-around by making all plots Multiplot, but it is far from perfect - there should be a better way to do it 😉 any ideas how?
03-20-2018 08:00 AM
Hi Tomasz,
The problem is that some of data should be plotted as pair: readback & setpoint on one plot.
When you need to show several plots in your graph you need to create multiplot data. There's no way around.
(Well, you could generate one plot containing all data point, when you separate the corresponding "point clouds" by NaN values.)
It means that the size of cluster at the output of Case structure has different dimension for different plots...
No, they don't have "different dimensions"!
- You always end with a 1D array of plots.
- The plots itself can have different amound of points.
03-20-2018 08:05 AM
It means that the size of cluster at the output of Case structure has different dimension for different plots... No, they don't have "different dimensions"! - You always end with a 1D array of plots. - The plots itself can have different amound of points.
sorry I've told it wrong: for a single plot I've got a cluster of two 1D arrays, but for double plot I've got array of clusters of 1D arrays