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!