LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i change the color table

so that anything below 1500 is black and from 1500-3000 it is yellow to red
And also another one where below zero is black and from 0-2 is blue to red
0 Kudos
Message 1 of 2
(2,238 Views)
> so that anything below 1500 is black and from 1500-3000 it is yellow
> to red
> And also another one where below zero is black and from 0-2 is blue to
> red

I'm assuming this is for an intensity graph or a color ramp.

You can build pretty much any color ramp, and that will build a 256
element color table internally. The key is usually to popup and set the
scale to have arbitrary markers. Changing the value of the outer
markers will scale the markers between and the colors will scale as well.

Set the outer markers the way you like. Then decide where else you want
color transitions, such as at 1500. You can drag a marker using the
operate tool on the tick mark, or you can type into it to be more
precise. You can also right click on a given m
arker and use the Color
pull-right menu to modify the color of that marker.

You can also choose between banded or smoothly interpolated colors
between the markers. If you want some smooth, then choose smooth. To
achieve bands on an interpolated scale, you can place markers directly
next to one another and set adjacent markers to the same color. At
times this becomes easier to do via an array of value colors and write
that to the property node for the Color Ramp.

Greg McKaskle
Message 2 of 2
(2,238 Views)