MATLAB: Can axes tick labels be accesed as text objects?
Posted
by yuk
on Stack Overflow
See other posts from Stack Overflow
or by yuk
Published on 2010-04-21T22:01:17Z
Indexed on
2010/04/21
22:03 UTC
Read the original article
Hit count: 198
I'm curious is it possible to change text properties of tick labels independently of axes properties. Do they have handles? I'd like to control their position better, alignment, color, fonts, etc. I know I can substitute them with text labels, but it has some drawbacks. Any alternative solutions?
Particularly, is it possible to put xticklabels between ticks, that are irregular?
plot(1:100)
set(gca,'xtick',[30 45 53 70 95])
grid on
I need to put xticklabels in the middle between grids.
© Stack Overflow or respective owner