Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
xlabel position

Subject: xlabel position

From: rabbit

Date: 5 Dec, 2005 13:51:36

Message: 1 of 2

I wanna change some xlabel positions.
But, I can't find any options about this.
How can I do that?

Subject: xlabel position

From: helper

Date: 5 Dec, 2005 15:19:07

Message: 2 of 2

rabbit wrote:
>
>
> I wanna change some xlabel positions.
> But, I can't find any options about this.
> How can I do that?

h = xlabel('XLABEL'); % Create label
pos = get(h,'pos'); % Read position [x y z]
set(h,'pos',pos+[.5 0 0]) % Move label to right

Tags for this Thread

No tags are associated with this thread.

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.

Contact us