Thread Subject: figure labels position -> 'auto' ?

Subject: figure labels position -> 'auto' ?

From: Norman

Date: 23 Nov, 2009 16:51:20

Message: 1 of 1

Hi,

For better plots (IMHO) I want to change the layout of figures, in particular the position of the axis labels (closer to the plot itself).

For my purpose I set the position of ylabels to some specific values but now, after saving it, if I pan (or zoom) the graph, the label is moving with it. How can I set it back to 'auto' behaviour?

set(get(gca,'ylabel'),'Position','auto')

does not work, since the value must be numeric.

It would be okay, if Matlab changes the position then again, but it would be even better if it just calculates the new set distance.

Another question: Is there a way to set the positions unit (like for other objects: 'normalized', 'points', 'pixel' etc) ?

Greetings,
Norman

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
xlabel ylabel p... Norman 23 Nov, 2009 11:54:08
rssFeed for this Thread

Contact us at files@mathworks.com