ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create color map intensity graph

Hi!
 
The intesity graphs have standardly colors blue smoothing to white.
I need to create a color array for an intensity graph with the smoothing colors red-->yellow-->green-->yellow-->red.
I've seen the property node for an array containing colors in RGB, but how do I create an array with the colors I told above? (I don't think I need to type 'em in..!)
And how can I set that the colors are interpolated (smoothing)?
 
I've never worked with colors/intensity graphs, please give me some tipps!
 
 
 
0 Kudos
Message 1 of 3
(4,066 Views)
Hi avr,

there's a property "ZScale.MarkerValues" describing an array of clusters containing a z-value and it's corresponding color. Wire your color/value-pairs to this property.
To allow color interpolation you can switch on this property using right-clicking the chart -> z-scale or set it via property node "ZScale.Interpolate Color".

You can also change colors by wiring an array of 256 colors to property node "ColorTable", but once (LV7.1) I had problems when mixing those two options in one diagram Smiley Sad

Message Edited by GerdW on 09-14-2007 09:11 AM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(4,068 Views)

Hi Gerd,

that's it!

 

Thank you! Smiley Happy

0 Kudos
Message 3 of 3
(4,057 Views)