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:
analogue of yaxislocation for ylabel

Subject: analogue of yaxislocation for ylabel

From: Misha Koshelev

Date: 8 Oct, 2009 04:20:18

Message: 1 of 2

Dear All:

I'd like a y label on the right hand side of the graph. Is this by any chance possible?

Thank you

Misha

Subject: analogue of yaxislocation for ylabel

From: Sebastiaan

Date: 8 Oct, 2009 07:21:38

Message: 2 of 2

"Misha Koshelev" <mk144210@bcm.edu> wrote in message <hajpa2$m2s$1@fred.mathworks.com>...
> Dear All:
>
> I'd like a y label on the right hand side of the graph. Is this by any chance possible?
>
> Thank you
>
> Misha
Only by a trick by making a second axes object:
plot(1:10, 1:10)
a1 = gca;
a2 = axes('YAxisLocation', 'Right', 'Color', 'None', 'YTick', [])
ylabel(a2, 'Right hand side Y label)

Sebastiaan

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