Filter löschen
Filter löschen

Linear scale graph for periodogram()?

3 Ansichten (letzte 30 Tage)
Bob Li
Bob Li am 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

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 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 Kommentar
Bob Li
Bob Li am 13 Jan. 2012
Walter,
I got the idea. Thanks.
Bob

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by