LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

graph plot colour dependent on x axis

Dear Labview forum,
I would like to plot a graph in which the plot colour is dependent on the x axis value.
Eg I have a power vs frequency graph and would like the plot colour to be say green for a certain frequency range, yellow for another range, and the remaining range can stay white.
Is this possible? How so?
Thanks for your consideration,
Jamie
Using Labview version 8.0
0 Kudos
Message 1 of 2
(2,382 Views)
If it is just a few colors, plot your data several times while editing each data part in such a way that the undesired colors contain NaN instead of data for each X.
 
(If you want contiunously variable shades of colors, make your own graph using a picture indicator. ;))
 
A simple example from long time ago can be found here: http://forums.ni.com/ni/board/message?board.id=170&message.id=65314#M65314, just modify for your purpose. 🙂

Message Edited by altenbach on 01-06-2007 09:37 AM

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