Filter löschen
Filter löschen

Plot in log-log

4 Ansichten (letzte 30 Tage)
Auryn_
Auryn_ am 24 Mai 2018
Beantwortet: Auryn_ am 24 Mai 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 Kommentare
jonas
jonas am 24 Mai 2018
Can you show us your figure and code?
Auryn_
Auryn_ am 24 Mai 2018
Done.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

jonas
jonas am 24 Mai 2018
Bearbeitet: jonas am 24 Mai 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.

Weitere Antworten (1)

Auryn_
Auryn_ am 24 Mai 2018
Awesome, thanks!

Kategorien

Mehr zu Log Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by