Borrar filtros
Borrar filtros

Linear scale graph for periodogram()?

3 visualizaciones (últimos 30 días)
Bob Li
Bob Li el 13 de En. de 2012
Hi,
I found that results given by periodogram() is always logarithmic scale. Is it possible to show linear scale in the graph?
Bob

Respuesta aceptada

Walter Roberson
Walter Roberson el 13 de En. de 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 comentario
Bob Li
Bob Li el 13 de En. de 2012
Walter,
I got the idea. Thanks.
Bob

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by