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
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 中查找有关 Graphics Object Properties 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!