LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview 2D plot

 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

0 Kudos
Message 1 of 2
(2,070 Views)

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

0 Kudos
Message 2 of 2
(2,068 Views)