From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

To draw a potential color map

I want to make potential color map of multi data.
Forexample I have 32data.And divide a square canvas 4*8 to paint.After that,make color map in obedience to the size of data(like small data(white)--middle(blue)--big(red)).1data is painted one cell in divided canvas.
I use LabWindows/CVI5.5.Do you have good way to make that? And what should I use commands in libralies?
0 Kudos
Message 1 of 2
(2,487 Views)
You could try using an Intensity Graph. This has a ColorMapArray that you can use to assign certain colors to certain values, and every value in between gets assigned a gradient automatically. All you would have to do is create your Z array, which is a 2d array mapping of the graph control. To use this, call the function PlotIntensity on a waveform graph control. Hope this helps!
Jeremy L.
National Instruments
0 Kudos
Message 2 of 2
(2,479 Views)