Info

This question is closed. Reopen it to edit or answer.

Representing yaxis as additive yTicks

1 view (last 30 days)
Pankaj
Pankaj on 27 Aug 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
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

Answers (1)

Walter Roberson
Walter Roberson on 27 Aug 2020
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.

Tags

Community Treasure Hunt

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

Start Hunting!