how can I adjust the axes for the table

3 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Graphics Object Properties 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by