LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to display the color map of a 3D Surface plot on the Front Panel?

This would be a very useful feature to include, especially if you are just displaying the top-down (XY) projection of your plot (otherwise there's no way to visualize the amplitude that a given color represents). I know that the Intensity Graph allows you to display the Z-axis color map, but I want to use the 3D Graph control for some of the other features it offers...
0 Kudos
Message 1 of 4
(3,853 Views)
I have never seen this done before. However, I would suggest checking out the ActiveX help file for it. Right-click on the 3D Graph and select CW3DGraph>>Help. This will launch the Measurement Studio Help. The first page that comes up is the Graph3D Overview. This is not too helpful, but if you scroll to the bottom and select CW3DGraph, this will take you to a page which lists all of the methods and properties for this object. This could help you to come up with a way of building the application you described. I hope this can get you started. Best of luck!
J.R. Allen
0 Kudos
Message 2 of 4
(3,853 Views)
I had the same question. After quite a bit of playing around with properties, methods, color ramps, viewing examples and reading a bit about it, I discovered a way to do this. Basically use the ColorMapValues and ColorMapColors properties from the 3D graph and modify them slightly and feed these into the ZScale.Marker.Vals[] on an intensity chart or the Scale.MarkerVals[] on the color ramp. See the attached example.

I think the diagram is self-documenting and pretty darn simple. I have a couple of notes on the front panel that help explain the vi.

Good luck.
Message 3 of 4
(3,853 Views)
Seems to me this is an enhancement that could be included on the next release. Having a key sure would be nice.
0 Kudos
Message 4 of 4
(3,853 Views)