Representing yaxis as additive yTicks

I have too many significant figures in my yTicks which makes it difficult to interprit (attached).
I would prefer to represent the yTicks as additive valyes to 13824 cm.
I wanted to know what is the right way to do this in matlab.
Thanks

回答 (1 件)

Walter Roberson
Walter Roberson 2020 年 8 月 27 日

0 投票

You can set yticklabels to appropriate text, and you can text() the offset into place. The only automatic axes extra similar to that has to do with exponents, but that is not something that you can access for this purpose.

この質問は閉じられています。

タグ

質問済み:

2020 年 8 月 27 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by