Setting y-axis in figure
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1066390/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1066390/image.jpeg)
0 Kommentare
Akzeptierte Antwort
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
Weitere Antworten (0)
Siehe auch
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!