How to create axis with perfect square ticks
이전 댓글 표시
What should I do to plot my data along a y axis such as this:

채택된 답변
추가 답변 (1개)
yticks((1:50).^2)
if you just want to change the labels you can use
yticklabels((1:50).^2)
카테고리
도움말 센터 및 File Exchange에서 Axis Labels에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!