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

40 ビュー (過去 30 日間)
Ni Made Ayu Sinta Dewi
Ni Made Ayu Sinta Dewi 2021 年 7 月 4 日
コメント済み: Yazan 2021 年 7 月 6 日
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!

採用された回答

Yazan
Yazan 2021 年 7 月 4 日
Use '%%' to write the '%' symbol:
fprintf('%%\n');
  6 件のコメント
Ni Made Ayu Sinta Dewi
Ni Made Ayu Sinta Dewi 2021 年 7 月 6 日
Thank you anyway!
Yazan
Yazan 2021 年 7 月 6 日
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.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeContour Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by