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

3 views (last 30 days)
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?

Answers (1)

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

Sign in to comment.

Categories

Find more on Graphics Object Properties in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!