I can't put the degrees symbol on my chart.

조회 수: 2 (최근 30일)
Zaire Landy
Zaire Landy 2021년 6월 6일
댓글: Star Strider 2021년 6월 9일
I use R2013b.
I would like the x-axis to be 0º, 5º, 10º, 15º, 20º.
I tried to use 'xtickformat', but an error message appears: Undefined function 'xtickformat' for input arguments of type 'char'
mesh(X,Y,TZ)
xlabel('Pass angle [°]', 'FontSize' ,19)
ylabel('Equivalent velocity [m/s]', 'FontSize' ,19)
zlabel('Thrust [N]', 'FontSize' ,19)
set(gca, 'FontSize' ,19)
xtickformat = ('degrees');
Can someone give me a hand?

답변 (1개)

Star Strider
Star Strider 2021년 6월 6일
See TickLabelFormat in NumericRuler Properties for a specific example.
  댓글 수: 4
Zaire Landy
Zaire Landy 2021년 6월 9일
All very well. Thank you very much for your attention. :)
Star Strider
Star Strider 2021년 6월 9일
My pleasdurre!
If my Answer helped you solve your problem, please Accept it!
.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Discrete Data Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by