## Re: [Matplotlib-users] multip axis

 Re: [Matplotlib-users] multip axis From: Jed Frechette - 2007-08-29 17:36:52 ``` nie ninesun wrote: > > 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... > Seeing as this came up. Is it possible to have more than 2 y axes? For example: http://www.unm.edu/~jdfrech/fire-climate.png The above figure was created by generating 2 figures of the same size in matplotlib, one with a pair of twinx() y axes and one with a single y axis then manually splicing them together in Inkscape. -- View this message in context: http://www.nabble.com/multip-axis-tf4344576.html#a12392038 Sent from the matplotlib - users mailing list archive at Nabble.com. ```

 [Matplotlib-users] multip axis From: nie ninesun - 2007-08-28 22:03:17 ```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 ```
 Re: [Matplotlib-users] multip axis From: Benoit Donnet - 2007-08-29 06:53:01 ```Hey, twinx() is what you need. Download the examples (http://matplotlib.sourceforge.net/=20 matplotlib_examples_0.90.0.zip). There is an example on how to use =20 twinx() (this is the file two_scales.py) Keep on Rockin' Benoit Le 29-ao=C3=BBt-07 =C3=A0 00:03, nie ninesun a =C3=A9crit : > hi everyone > i am new user of matplotlib,i want display two curve on one =20 > graph.but i want these two curve have same X axis.but the Y axis is =20= > not same.I read the sample of matplotlib,there is an example about =20 > subplot.but i don't hope to use such one,These two curve should be =20 > displayed in on plot in my application with diffrent axis.Doese =20 > matplotlib have such function? or if there is an demo code about it? > thanks > xz_nie > > _________________________________________________________________ > =E4=BA=AB=E7=94=A8=E4=B8=96=E7=95=8C=E4=B8=8A=E6=9C=80=E5=A4=A7=E7=9A=84= =E7=94=B5=E5=AD=90=E9=82=AE=E4=BB=B6=E7=B3=BB=E7=BB=9F=E2=80=94 MSN = Hotmail=E3=80=82 http://=20 > http://www.hotmail.com > > ----------------------------------------------------------------------=20= > --- > 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 =20 > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Dr. Benoit Donnet Universit=C3=A9 Catholique de Louvain (UCL) Facult=C3=A9 des Sciences Appliqu=C3=A9es - D=C3=A9partement = d'Ing=C3=A9nierie =20 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 ```
 Re: [Matplotlib-users] multip axis From: Jed Frechette - 2007-08-29 17:36:52 ``` nie ninesun wrote: > > 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... > Seeing as this came up. Is it possible to have more than 2 y axes? For example: http://www.unm.edu/~jdfrech/fire-climate.png The above figure was created by generating 2 figures of the same size in matplotlib, one with a pair of twinx() y axes and one with a single y axis then manually splicing them together in Inkscape. -- View this message in context: http://www.nabble.com/multip-axis-tf4344576.html#a12392038 Sent from the matplotlib - users mailing list archive at Nabble.com. ```