how can I adjust the axes for the table
1 回表示 (過去 30 日間)
古いコメントを表示
Hi, I have the following two objects.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171681/image.jpeg)
I have plotted them as :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171682/image.jpeg)
How can I change the dimensions of the axes so that the plot can fit normally. Thanks
2 件のコメント
Peter Perkins
2018 年 4 月 2 日
Nothing to do with your question, but you might find this more convenient to make the plot:
plot(nzpopulation.VarName1,nzpopulation.VarName2,'o')
There's no reason to create Nx1 tables, and dot subscripting is simpler than braces when referring to one variable.
採用された回答
Walter Roberson
2018 年 3 月 29 日
ax = gca;
ax.YRuler.Exponent = 0;
This will cause the "x 10^6" to turn off, giving whole numbers on the y axes.
2 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Axis Labels についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!