How to add subscript in xticklabels?
4 views (last 30 days)
Show older comments
SM on 9 Nov 2021
Answered: Star Strider on 9 Nov 2021
I have used code like
in which 2 should be subscript of (MO), but failed. Can you please help me? Thanks!
Star Strider on 9 Nov 2021
Try something like this —
Ax = axes;
plot(Ax, 0:2, randn(1,3))
Ax.TickLabelInterpreter = 'latex';
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!