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 CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by