09-25-2012 04:38 PM
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
Solved! Go to Solution.
09-26-2012 08:14 AM - edited 09-26-2012 08:15 AM
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).
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.
09-26-2012 09:06 AM
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
09-26-2012 01:46 PM
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:
09-27-2012 12:18 PM
Thank you