Setting y-axis in figure
2 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Voss
on 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 Comments
More Answers (0)
See Also
Categories
Find more on Language Fundamentals in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!