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 4
(9,904 Views)

Awesome, thank you for posting!!

Rahul B.
0 Kudos
Message 2 of 4
(9,695 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 4
(9,612 Views)

I did something similar for a project I was working on

Randall Pursley
Message 4 of 4
(5,958 Views)