Axes オブジェクト(座標軸)の目盛りの数値の文字列は、XTickLabel や YTickLabel プロパティで管理されています。
よって、その値を空のセル配列を設定することで、数値のみ削除されます。
x = linspace(0,10);
y = x.^2;
plot(x,y)
ax = gca;
ax.YTickLabel = cell(size(ax.YTickLabel)); % Y 軸の目盛り上の数値を削除
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!