yticks/ylabel on the right

Hello,

I apologize if this is the n-th time this question is asked.

I wondered what the canonical way is to gel the yticks and the ylabel on the right

hand side of a plot rather than on the left.

Merry xmas!

Maximilian

···

Maximilian Fabricius

  • Max Planck Institute for Extraterrestrial Physics (MPE)

    Giessenbachstrasse, D-85748 Garching, Germany

  • University Observatory Munich / Wendelstein Observatory
    Scheinerstr. 1, D-81679 München, Germany
    eMail: mxhf@…2911…

Phone: +49 89 30000 3694
FAX: +49 89 30000 3495

I once had the same problem and the solution was rather complicated,
involving the artist interface I believe. Unfortunately, I can not find
it any longer as the mailing list archives are not searchable.

Dominik

Maximilian Fabricius wrote:

···

Hello,

I apologize if this is the n-th time this question is asked.

I wondered what the canonical way is to gel the yticks and the ylabel on
the right
hand side of a plot rather than on the left.

Merry xmas!

Maximilian


--------------------------------------------------------------------
Maximilian Fabricius
* Max Planck Institute for Extraterrestrial Physics (MPE)
    Giessenbachstrasse, D-85748 Garching, Germany
* University Observatory Munich / Wendelstein Observatory
    Scheinerstr. 1, D-81679 München, Germany
eMail: mxhf@…2911… <mailto:mxhf@…2911…>
Phone: +49 89 30000 3694
FAX: +49 89 30000 3495
--------------------------------------------------------------------

------------------------------------------------------------------------

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev

------------------------------------------------------------------------

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

ax = gca()
ax.yaxis.set_ticks_position("right") # ticks and ticklabels
ax.yaxis.set_label_position("right") # axis label

-JJ

···

On Thu, Dec 24, 2009 at 8:34 AM, Maximilian Fabricius <mxhf@...361...> wrote:

Hello,
I apologize if this is the n-th time this question is asked.
I wondered what the canonical way is to gel the yticks and the ylabel on the
right
hand side of a plot rather than on the left.
Merry xmas!
Maximilian

--
--------------------------------------------------------------------
Maximilian Fabricius
* Max Planck Institute for Extraterrestrial Physics (MPE)
Giessenbachstrasse, D-85748 Garching, Germany
* University Observatory Munich / Wendelstein Observatory
Scheinerstr. 1, D-81679 München, Germany
eMail: mxhf@...2911...
Phone: +49 89 30000 3694
FAX: +49 89 30000 3495
--------------------------------------------------------------------

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users