MATLAB: Is there a way to set the color map and color limits of the dsp.SpectrumAnalyzer without using the spectrum properties GUI

DSP System Toolboxdsp.spectrumanalyzer

I have a piece of script that calls the dsp.SpectrumAnalyzer and uses it as a spectrogram. I would like to be able to hard code the color map and color limits into the script so that I don't have to go through the GUI in the spectrogram window to change these parameters each time it starts. Is there a property that can be set ahead of time that does this?

Best Answer

Hi
This cannot be done as there are no command line API's available to set the color properties for Spectrum Analyzer in DSP System Toolbox.