Borrar filtros
Borrar filtros

Plot in log-log

4 visualizaciones (últimos 30 días)
Auryn_
Auryn_ el 24 de Mayo de 2018
Respondida: Auryn_ el 24 de Mayo de 2018
Hi,
I am plotting in a log-log scale but the axis label does not display the numbers in a log scale. I have used
loglog(t,Exp, 'LineWidth',2,'Markersize',3)
hold all
and also set(gca, 'YScale', 'log') and it still does not work.
Thanks in advance for your reply.
  2 comentarios
jonas
jonas el 24 de Mayo de 2018
Can you show us your figure and code?
Auryn_
Auryn_ el 24 de Mayo de 2018
Done.

Iniciar sesión para comentar.

Respuesta aceptada

jonas
jonas el 24 de Mayo de 2018
Editada: jonas el 24 de Mayo de 2018
I'm fairly sure that is in fact a loglog-scale. Try:
axis([0.1 100 0.1 100])
and see for yourself. The y-range is too narrow to really label the axis as you expected.

Más respuestas (1)

Auryn_
Auryn_ el 24 de Mayo de 2018
Awesome, thanks!

Categorías

Más información sobre Log Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by