2d plot with two y-axis

Hi,

I am pretty new to python and matplotlib -

I am struggeling a bit doing a 2d plot with two graphs in one with different scaling on the left and right y-axis e.g. time vs temperature and rainfall?

Can someone give me a hint or example-code?

Cheers Michael

···

The information in this email together with any attachments is

intended only for the person or entity to which it is addressed

and may contain confidential and/or privileged material.

Any form of review, disclosure, modification, distribution

and/or publication of this email message is prohibited, unless

as a necessary part of Departmental business.

If you have received this message in error, you are asked to

inform the sender as quickly as possible and delete this message

and any copies of this message from your computer and/or your

computer system network.


Look at two_scales.py in the "examples" directory of the source
distribution.

Johann

···

On Tuesday, 8 May 2007 09:59, Schmidt Michael wrote:

Hi,

I am pretty new to python and matplotlib -

I am struggeling a bit doing a 2d plot with two graphs in one with
different scaling on the left and right y-axis e.g. time vs
temperature and rainfall?

Can someone give me a hint or example-code?

Cheers Michael