Is there a way to handle the writing labels of axes coordinate (The writing is not in a straight line with respect to the axes. I would like to modify that.)?

1 回表示 (過去 30 日間)

回答 (1 件)

Chunru
Chunru 2022 年 7 月 4 日
[X, Y, Z] = peaks(40);
figure
surf(X, Y, Z)
xlabel('This is XLabel');
ylabel('This is YLabel');
h =gca;
% use the following to change the xlabel and ylabel orientation
h.XAxis.Label.Rotation = 13;
h.YAxis.Label.Rotation = -28;

カテゴリ

Help Center および File ExchangeLabels and Annotations についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by