Azzera filtri
Azzera filtri

Setting y-axis in figure

2 visualizzazioni (ultimi 30 giorni)
FAWAZ FAREAD AL BAKRI
FAWAZ FAREAD AL BAKRI il 15 Lug 2022
Commentato: Voss il 16 Lug 2022
Hello all...
I would like to set the y-axis as shown in thisFigure.

Risposta accettata

Voss
Voss il 15 Lug 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 Commenti
FAWAZ FAREAD AL BAKRI
FAWAZ FAREAD AL BAKRI il 16 Lug 2022
Thank you very much, it works perfectly.
Voss
Voss il 16 Lug 2022
You're welcome!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Language Fundamentals in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by