Filter löschen
Filter löschen

Setting y-axis in figure

2 Ansichten (letzte 30 Tage)
FAWAZ FAREAD AL BAKRI
FAWAZ FAREAD AL BAKRI am 15 Jul. 2022
Kommentiert: Voss am 16 Jul. 2022
Hello all...
I would like to set the y-axis as shown in thisFigure.

Akzeptierte Antwort

Voss
Voss am 15 Jul. 2022
ax = gca();
set(ax, ...
'YLim',[1 1e10], ...
'YScale','log', ...
'Box','on', ...
'XGrid','on', ...
'YGrid','on', ...
'YMinorGrid','off', ...
'YMinorTick','off', ...
'TickLength',[0.02 0.02], ...
'GridLineStyle',':', ...
'GridColor',[0 0 0], ...
'GridAlpha',1, ...
'FontSize',12)
ylabel('Infected cell y')
  2 Kommentare
FAWAZ FAREAD AL BAKRI
FAWAZ FAREAD AL BAKRI am 16 Jul. 2022
Thank you very much, it works perfectly.
Voss
Voss am 16 Jul. 2022
You're welcome!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Language Fundamentals 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