LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

intensity graph z scale color

I am wondering how to set the colors on a intensity graph for the z scale. I need to be able to set while running.
 
Thanks
- there is always an easy way, but it is always the hardest to find
0 Kudos
Message 1 of 5
(5,280 Views)

There are two ways to set the z-scale colors. For either method create a property node for your color table. To directly set the color pallette of the graph use the "color table" property. Wire an array of 256 colors to this input. The other method is to use the "z scale -> marker values []" property. This is a little easier to use. Input a cluster array where each array element is a cluster that contains a z-scale value and a corresponding color. The z scale values between these markers are interpolated automatically. The default is a z-scale marker array that has elements at 0, 50 and 100 with black, blue and white as the colors.

0 Kudos
Message 2 of 5
(5,273 Views)
Hi all,

regarding the z scale, I often experience the fact that it does not scale the color ramp correctly. Often, I only a see a completely white or black ramp (mostly when autoscaling is on). It then helps to reset the autoscaling, or entering manual tic marks etc. I've had this with LabVIEW 7 and 8.20. Do you know of this problem, or even of a solution?

Regards
Matthias
0 Kudos
Message 3 of 5
(5,266 Views)

Do you know of any way to pass a real number into the z-scale and pull out the RGB values?  I have a 3D finite element mesh I am displaying in LabView and I want to update the nodal colors based on nodal values.  It is simple enough to pass RGB values to the SceneMesh->SetMeshParms->ColorArray node, but I would like to have the plot utilize something like the built in (auto scaling) color ramps of gauges.  This way I pass a real value in, it finds the appropriate color from the range, and assigns it to the corresponding mesh node.

 

 

0 Kudos
Message 4 of 5
(4,966 Views)
Figured it out. It just took a different way of looking at it.
0 Kudos
Message 5 of 5
(4,958 Views)