LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Scaling the color ramp of Intensity charts

Solved!
Go to solution

Hello All,

I use an intensity chart to draw the characteristics of an ultrasonic field. The measurement values expand a wide range between 3,0e-6 until 12,0e+0, so that I need a verry fine detailed color scaling. I found a nice picture (http://zone.ni.com/devzone/cda/tut/p/id/7664) attached as picture "fine color ramp.jpg" where the color ramp is scaled from black->green-> white-> blue-> green-> red. But with the "color table generator.vi" caused by only three scaling points for each of the colors red, green, blue I get only a scale as shown in the second picture "rough color ramp.jpg". It is not possible to scale the ramp from black to green to white and then back to blue to green, red.

How could I get a color ramp as in "fine color ramp.jpg" ? I guess, I need the possibillity to scale each of the color red, green, blue on more than three points.

 

Thanks a lot in advance. 

Download All
0 Kudos
Message 1 of 2
(3,170 Views)
Solution
Accepted by topic author ar-numa

Hello...

 

I found the solution in http://decibel.ni.com/content/docs/DOC-9294.

 

The Output "Color table" ( U32 data type array) of the Create Gradient Color Ramp.vi can be connected to an intensity chart property node with "color tbl" property.

Now the ramp can be scaled with various colors, for instance now one color tone can be used twice on the bottom of the ramp and in the middle and/ or on the top of the ramp again.

 

:-))

 

 

Message 2 of 2
(3,123 Views)