Effacer les filtres
Effacer les filtres

Linear scale graph for periodogram()?

3 vues (au cours des 30 derniers jours)
Bob Li
Bob Li le 13 Jan 2012
Hi,
I found that results given by periodogram() is always logarithmic scale. Is it possible to show linear scale in the graph?
Bob

Réponse acceptée

Walter Roberson
Walter Roberson le 13 Jan 2012
If you can find the axis handle, you could try
set(AxHandle, 'YScale', 'normal')
This will not work if it is log data that has been submitted to the graphics routines; if that is the case you would have to replace the YData by exp(YData)
for H = findobj(AxHandle, '-property', 'YData')
set(H, 'YData', exp(get(H,'YData')));
end
  1 commentaire
Bob Li
Bob Li le 13 Jan 2012
Walter,
I got the idea. Thanks.
Bob

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by