Hey,

twinx() is what you need.

Download the examples (http://matplotlib.sourceforge.net/ 
matplotlib_examples_0.90.0.zip).  There is an example on how to use  
twinx() (this is the file two_scales.py)

Keep on Rockin'

Benoit

Le 29-août-07 à 00:03, nie ninesun a écrit :

> hi everyone
>  i am new user of matplotlib,i want display two curve on one  
> graph.but i want these two curve have same X axis.but the Y axis is  
> not same.I read the sample of matplotlib,there is an example about  
> subplot.but i don't hope to use such one,These two curve should be  
> displayed in on plot in my application with diffrent axis.Doese  
> matplotlib have such function? or if there is an demo code about it?
>  thanks
> xz_nie
>
> _________________________________________________________________
> 享用世界上最大的电子邮件系统— MSN Hotmail。  http:// 
> www.hotmail.com
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a  
> browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users

--
Dr. Benoit Donnet
Université Catholique de Louvain (UCL)
Faculté des Sciences Appliquées - Département d'Ingénierie  
Informatique (INGI)
Place Sainte Barbe, 2
1348 Louvain-la-Neuve
Belgium
Phone: +32 10 47 87 18
Home page: http://inl.info.ucl.ac.be/donnet




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to