Plot in log-log

4 次查看(过去 30 天)
Auryn_
Auryn_ 2018-5-24
回答: Auryn_ 2018-5-24
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 个评论
jonas
jonas 2018-5-24
Can you show us your figure and code?
Auryn_
Auryn_ 2018-5-24
Done.

请先登录,再进行评论。

采纳的回答

jonas
jonas 2018-5-24
编辑:jonas 2018-5-24
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.

更多回答(1 个)

Auryn_
Auryn_ 2018-5-24
Awesome, thanks!

类别

Help CenterFile Exchange 中查找有关 Log Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by