what the difference between the following two figures by specgram

5 visualizaciones (últimos 30 días)
Rana
Rana el 15 de Mzo. de 2014
Respondida: Dishant Arora el 15 de Mzo. de 2014
Hi;
The following two figures are plot by using (specgram) function. They have a same frequency values but they're different in color. My question: Are they difference? what mean this difference? What the cause of different color? Can I make the same color for both?
please help me and thank you for answer......

Respuestas (1)

Dishant Arora
Dishant Arora el 15 de Mzo. de 2014
As far as I know they have different colormaps, probably second is jet colormap and first seems to be coustmized.
doc colormap
Ans yes you can make them same:
map = get(figure1Handle ,'Colormap')
set(figure2Handle , 'Colormap' , map)

Categorías

Más información sobre White en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by