Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I plot a volumic image with graph3D (the intensity of one pixel I=f(x,y,z))?

at each (x,y,z)in the image , it associate the intensity I(x,y,z).
how to plot this volumic image with graph3d?
0 Kudos
Message 1 of 3
(3,226 Views)
It sounds like you want to do an intensity plot with a custom color scale - is that correct? If so, please take a look at this previous thread. This thread discusses how to display intensity plots with CNiGraph3D and has sample code for a color spectrum intensity plot of a dual sine surface plot. If you would like to specify a custom color scale instead of using a color spectrum scale, take a look at the ColorMapValues and ColorMapColors properties of CNiPlot3D. The Color Map Styles example (located in the Examples\Ui\Graph3D\Color Map Styles subdirectory of your Measurement Studio for Visual C++ installa
tion directory) has code that demonstrates how to create a custom color map. Hope this helps.

- Elton
Message 2 of 3
(3,226 Views)
It also sounds like you should be using the plot method that accepts a magnitude (W) parameter. The W parameter lets you define the color of each point on the color scale, defined as Elton explained in the previous thread, independently of the Z value of that point.

Tony
0 Kudos
Message 3 of 3
(3,226 Views)