LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Darren's Occasional Nugget 07/17/2014

Today's nugget has to do with Intensity Graphs and Intensity Charts. By default, they have a blue color map for the Z scale:

 

int1.png

 

If you want to reconfigure the colors, you can right-click any of the numbers in the Z scale and choose Marker Color. It is also possible to programmatically manipulate the scale with the Color Table property of the Intensity Graph/Chart. 

 

I have attached a VI below called Intensity Color Tables.vi that allows you to select between several pre-defined color maps for your Intensity Graphs and Charts. The VI generates the Color Table array that can be wired to the Color Table property. I think my favorite color map is "fire":

 

int2.png

 

Check out the demo VI (in LabVIEW 2009 or later) to see the Intensity Color Tables.vi in action.

Download All
Message 1 of 5
(10,390 Views)

Awesome, thank you for posting!!

Rahul B.
0 Kudos
Message 2 of 5
(10,181 Views)

And this shipping example shows an practical usage of this feature:

 

C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\Signal Processing\Transforms\STFT Spectrogram Demo.vi

Barp - Control, Simulation, RTT and HIL - National Instruments
0 Kudos
Message 3 of 5
(10,098 Views)

I did something similar for a project I was working on

Randall Pursley
Message 4 of 5
(6,444 Views)

(I know, old thread...)

 

I often work with greyscale image data and all I ever need to do is remove the middle marker from the default Z axis (and change the upper limit to 255). Poof, the blue disappears and all that's left is a linear gray scale!

Message 5 of 5
(405 Views)