SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: nie n. <xz...@ho...> - 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 
From: Benoit D. <ben...@uc...> - 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
> 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
> Mat...@li...
> 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
From: Jed F. <jed...@gm...> - 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.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /