This widget could not be displayed.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Color interpolation linearity

I am trying to create a gauge indicator with 0 as the center. I want to set -1 and 1 to be red ends of the scale.

I understand how to create the colors I want and am able to get the colors into the areas I need with interpolation turned off.

 

When I turn interpolation on the zones shift and the gauge is no longer balanced.

I have tried "pre-stressing" this curve by visually shifting the zone markers for the colored regions but it is still not possible to get a balanced display.

Has anyone got any advice or examples similar to this?

The images below illustrate the problem.Note that the interoplated color pattern is not centered. It appears the pattern of interpolation favors single direction gauges. Is there any way to turn this behavior off?

 

 

         

 

Henry

0 Kudos
Message 1 of 3
(2,558 Views)

You can mess with Scale > Marker Spacing > Arbitrary (in the Gauge Express VI). Using this, I was able to get a standard gauge to be red on both -1 and 1, but yellow at 0. I'm not sure how to get green in the center (if that's what you want). Your pictures aren't showing up properly for me, so I just tried doing what you mentioned without knowing exactly what you wanted.

 

I don't know if this is what you tried, but I was able to get a balanced color map. (LabVIEW 12.0.1)

0 Kudos
Message 2 of 3
(2,542 Views)

Your images don't show

0 Kudos
Message 3 of 3
(2,540 Views)