LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I achieve a horizontal color ramp

I am trying to create a visualisation of temperature gradients across a vertical plane, and I thought the easiest way to achieve this would be with an interpolated colour ramp, however, I cannot find a way of creating a colour ramp vertically.

I am aware of ones for knobs and dials, and meters, and for the intensity graphs, however is there any way I can adjust a horizontal control or indicator for this?

I need to show 4 different temperatures, represented as 4 different colours. 3 of them go left to right, and another is possitioned underneath them. The horizontal temperature difference should NOT be interpolated with the 3 temperature differences above it. Clearly if I can create one horizontal colour ramp, I can sim
ply use an elongated colour box for the bottom temperature.

Any ideas?

Many thanks
Ellen
***Of all the things I've lost, I miss my mind the most!***
0 Kudos
Message 1 of 3
(3,273 Views)
I don't think I have understood your explanations (gradient... 4 temperatures...no interpolation... ???), so I'll stick to the title.
Simply use a 2D intensity graph, feeding only the graph in the x direction. To have a nice display, stack your temperature data (I guess it's a 1D array) as a 2D array, with the Y axis autoscaled. Adjust the colors of the ramp.
See the attached example.
Hope this helps...

CC
Chilly Charly    (aka CC)
0 Kudos
Message 2 of 3
(3,273 Views)
Hi,
I'm not sure if this will help. Check the VI attached and see if it iw what you are looking for. You could send me what you have done to give me a better idea if you would like.
0 Kudos
Message 3 of 3
(3,273 Views)