How to plot y-axies?
2 views (last 30 days)
Show older comments
Dear all, Could help me please about how to plot y-axies as seen in the figure below:
Thanks...
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/161746/image.jpeg)
0 Comments
Answers (2)
skysky2000
on 15 Mar 2017
1 Comment
Rik
on 15 Mar 2017
What code are you using, because I get the axis you need with the code below:
x=[250 500 600 700 780];
y=[16 8 4 2 1];
semilogy(x,y)
set(gca,'YTick',[1 2 4 8 16])
See Also
Categories
Find more on Line Plots 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!