LabVIEW Development Best Practices Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

I want different color in XY graph (Specific band)

Highlighted

I want different color in XY graph  (Specific band)  examle figure..캡처.PNG            How to display left-blue and right-green???

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

I did this last time where my customer requested a stackup of 2 bar graphs. Anyway, both my scenario and yours can be met by adding another plot of different color. Add another plot with blue colour and let it have value where you want the plot to be blue. Same goes for the green plot. To 'remove' the plots where they are 0, just set the value to NaN. In short, create two 1D array (1 is blue plot, 1 is green plot). Bundle each array with the x-axis array. Build the two clusters to an array before wiring them to the XY graph.XY Graph multi plot.png

Message 2 of 2
(1,013 Views)