フィルターのクリア

how can I adjust the axes for the table

1 回表示 (過去 30 日間)
rohail khan
rohail khan 2018 年 3 月 29 日
コメント済み: rohail khan 2018 年 4 月 2 日
Hi, I have the following two objects.
I have plotted them as :
How can I change the dimensions of the axes so that the plot can fit normally. Thanks
  2 件のコメント
Peter Perkins
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.
rohail khan
rohail khan 2018 年 4 月 2 日
thanks.Yes its more convenient.I will try that

サインインしてコメントする。

採用された回答

Walter Roberson
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 件のコメント
rohail khan
rohail khan 2018 年 3 月 29 日
編集済み: rohail khan 2018 年 3 月 29 日
thank you so much Walter. Can I use 'AXIS' command?
Walter Roberson
Walter Roberson 2018 年 3 月 29 日
There is no axis command that can turn off that exponent.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAxis Labels についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by