Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Intensity Graph control using VC++ 6.0?

LabView supports an "Intensity Graph" control. Is there a way to accomplish the same thing with CNiGraph, CWGraph or CNiGraph3D?
0 Kudos
Message 1 of 4
(3,628 Views)
You can do it with CNiGraph3D. For a VB example, see "Plotting Intensity Using a Measurement Studio 3D Graph Control." For a VC++ example, see my answer in this previous thread which shows C++ code and a screenshot for a color spectrum intensity plot of a dual sine surface with CNiGraph3D.

- Elton
0 Kudos
Message 2 of 4
(3,628 Views)
Thank you for you answer. It was very helpful. One thing missing is the "intensity slider" that is part of the LabView control. It allows the user to adjust the image display. The other problem I have is that the 3D graph axes labelling always looks big and clunky no matter what I use for font type/size. What I am trying to emulate is shown in the attachment. Basically I am translating some LabView code into C++.
0 Kudos
Message 3 of 4
(3,628 Views)
Hi,

The graphs will never be identical simply because they are different. If you would like to add an intensity slider, which I believe to mean the "Ramp" part of the Intensity Control for LabVIEW, cannot be added as part of the 3D-Graph control. The best way to do this may be to add an image that is created with a gradient to represent this ramp. Another idea is to use an additional 3D-Graph control and assign it values to make it emulate this behavior.
0 Kudos
Message 4 of 4
(3,628 Views)