Linear scale graph for periodogram()?

3 ビュー (過去 30 日間)
Bob Li
Bob Li 2012 年 1 月 13 日
Hi,
I found that results given by periodogram() is always logarithmic scale. Is it possible to show linear scale in the graph?
Bob

採用された回答

Walter Roberson
Walter Roberson 2012 年 1 月 13 日
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 件のコメント
Bob Li
Bob Li 2012 年 1 月 13 日
Walter,
I got the idea. Thanks.
Bob

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeJust for fun についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by