LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

setting color table of intensity graph

Hi!

I set the attribute color table of an intensity graph to a rainbow
distribution of the colors, but now I'm not able to change the color
table with the markers in the front panel.
Do you know a solution?

Thanks, Markus
0 Kudos
Message 1 of 2
(1,858 Views)
> I set the attribute color table of an intensity graph to a rainbow
> distribution of the colors, but now I'm not able to change the color
> table with the markers in the front panel.
> Do you know a solution?
>

Intensity graphs have two different modes for its color definition.
The first, typical one, is the Color array. It can be set using
either attributes or interactively and lets you define number/color
pairs that create either a smoothly interpolated or a banded color
gradient. The second mode is the color table. This is useful for
bitmaps or for cases where the color table has been custom generated
on the diagram. When using the color table, the Z scale is still
useful for determining which numbers map to the 0-255 range of the
color table. If you set the
Z scale to autoScale, it will find the
min and max of the data and set the Z to show all data mapped through
the color table. If set smaller, some of the values will map to the
first and last out of range colors. If set larger, it will map the
values to a smaller and smaller number of the colors in the color
table.

It sounds like you really want to be using the color array and not
the color table. The intensity graph automatically switches for
you when you write attributes to it, but there is a way to change
it back the the color array using a popup or attribute.

Greg McKaskle
0 Kudos
Message 2 of 2
(1,858 Views)