Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

Re: Changing the font size changes the axes limits?

$
0
0
> Tell MATLAB that you're taking manual control over the tick locations and
> axes limits by setting the YTickMode and YLimMode properties of the axes to
> 'manual' and MATLAB will just make the labels use the larger font size.
> --
> Steve Lord

Steve,

I tried:

t=0.1:.1:1.1;
data=exp(-1*t) ;
line(t, data);
hold on;
set(gca,'YTickMode','manual')
set(gca,'YLimMode','manual')

but it makes the y tick labels disappear entirely?

Viewing all articles
Browse latest Browse all 19628

Trending Articles