MATLAB Answers

Representing yaxis as additive yTicks

1 view (last 30 days)
Pankaj on 27 Aug 2020
Answered: Walter Roberson on 27 Aug 2020
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.


Sign in to comment.

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.


Sign in to comment.


Community Treasure Hunt

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

Start Hunting!

Translated by