How to plot y-axies?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (2)
skysky2000
il 15 Mar 2017
1 Commento
Rik
il 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])
Vedere anche
Categorie
Scopri di più su Line Plots 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!