Add percentage symbol (%) on contour lines (2019a)

13 views (last 30 days)
Ni Made Ayu Sinta Dewi
Ni Made Ayu Sinta Dewi on 4 Jul 2021
Commented: Yazan on 6 Jul 2021
Help! I want to add the percentage symbol (%) after the elevation label (ex: 1%, 3%, 5%) in a contour plot (photo attached). Is there any way to do this? I have read about clabel, but I am not sure it can do this. Thank you in advance!

Accepted Answer

Yazan on 4 Jul 2021
Use '%%' to write the '%' symbol:
Yazan on 6 Jul 2021
Overall, I believe the best practice in your case is to just divide the levels by 100, as they are percentages, and keep the default level visualization by Matlab.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!