10-02-2011 08:51 AM
Hi everyone
I want to plot two 1D vector "X" and "Y" by 2D plot in Labview, But it's the beside point, actually I want to plot "y" versus "x" but in different colors. fore example I want to plot all "y" bigger than 2 black, and all "y" bigger than 5 yellow and those smaller than 2 by red color.
please help me
10-02-2011 09:00 AM
The 2D plots in LabVIEW do not allow you to have multiple colors for the same plot. You will either have to separate your data into 3 different plots (filling in the "holes" in the other plot with the value NaN, which will not be plotted), or you can use the picture plot to draw your own graph. The first method is not that difficult. You can find an example of it here: https://decibel.ni.com/content/docs/DOC-14546