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 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1053995/image.png)
0 Kommentare
Antworten (1)
Chunru
am 4 Jul. 2022
[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;
0 Kommentare
Siehe auch
Kategorien
Mehr zu Labels and Annotations finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!