How to change scale of ploted graph of an axis
10 ビュー (過去 30 日間)
古いコメントを表示
The x-axis of the plotted i wanted to be in term of step size of 0.1 but currently my graph show step size of 0.2 , how do i change it?
0 件のコメント
回答 (1 件)
jonas
2018 年 9 月 5 日
xmin and xmax are the axes limits.
set(gca,'xtick',xmin:.1:xmax)
6 件のコメント
Abdullah
2019 年 7 月 11 日
How to do the same for y-axis. I mean how can y-axis can be rescaled once the figure has been drawn.
Ayobami Olanrewaju
2021 年 3 月 9 日
編集済み: Ayobami Olanrewaju
2021 年 3 月 9 日
Thank you. This worked for me.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!