Linear scale graph for periodogram()?

1 view (last 30 days)
Hi,
I found that results given by periodogram() is always logarithmic scale. Is it possible to show linear scale in the graph?
Bob

Accepted Answer

Walter Roberson
Walter Roberson on 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

More Answers (0)

Categories

Find more on Just for fun in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!