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 Center および File ExchangeLog Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by