The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: axis size changes when removing tick labels
Replies: 6   Last Post: Jan 22, 2013 4:23 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 16
Registered: 2/10/09
Re: axis size changes when removing tick labels
Posted: Jan 10, 2013 11:42 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Yes, I've done this way as well with the same effect. The y-axis elongates either way.

dpb <> wrote in message <kckgrf$ccn$>...
> On 1/9/2013 1:27 PM, rachael wrote:
> > Is there a simple way to fix the axis size so that it stays the same
> > size w/ or w/o tick labels?
> >
> > Currently, when I set my 'yticklabel' to [], my axes2 become larger. I
> > would like it to stay the same size w/ or w/o labels.
> > I'm running matlab R2012b ( on OSX Mountain Lion.

> ...
> Hmmm....on Winders (XP) if'en I set the same sizes as your example then do a
> set(ax2,'yticklabel',[])
> I see no changes in axis size.
> Do you get any joy if you plot first, _then_ clear the tick labels?
> --

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.