Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

OAT spectral map (colormap) to a 3D graph

Solved!
Go to solution

hello ;

 

sorry for my english

 

my probleme is how to plot a colormap (OAT spectral map .vi output "sound and vibration module")  in 3D surface graph my inputs are scaled signal and speed profile and my output is a colormap value I can plot this in 2D colormap

 

graph without any probleme but I can not in 3D  Please I need help

0 Kudos
Message 1 of 5
(7,316 Views)

Hello IYED,

 

The Colormap you have there is actually 3 dimensions.  The X and Y axes are dependent upon what you select in the Colormap VI (like frequency, speed, time, or  order), and the color spectrum itself is the third dimension (usually amplitude).

 

colormap.png

 

In the above plot, the three dimesions are Speed (X), Frequency (Y), and Amplitude (Z, color spectrum).  If you aren't seeing the color spectrum, could you post an image of the front panel graph?

 

 

Also, usually when you drop an OAT Spectral Map.vi, there will be a selector where you can choose "colormap".  Take a look at the example "Colormap (offline).vi" in the LabVIEW Example Finder to see how to implement a 3D colormap.

National Instruments
0 Kudos
Message 2 of 5
(7,299 Views)

Hello C-Dizzle my colormap graph works very well in front panel but my probleme is how to plot this same result in a 3D surface graph, normally I need x vector y vector and a z matrix but property node of  OAT spectral map did not

 

provide this  any help please !!!

 

 

thank you

0 Kudos
Message 3 of 5
(7,291 Views)
Solution
Accepted by topic author IYED

IYED,

 

If you wanted to parse the data out of the colormap VI into an X vector, Y vector, and Z matrix, you could use it with this plot type.  As the colormap VI is written, it displays a 2D plot where the third dimension is the color spectrum.

 

This community example extracts the data for you, you would just need to connect it to the Spectral Graph:

 

https://decibel.ni.com/content/docs/DOC-24070

 

like this:

 

3D graph colormap.png

National Instruments
0 Kudos
Message 4 of 5
(7,285 Views)

Thank you

0 Kudos
Message 5 of 5
(7,266 Views)