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!