[Matplotlib-users] Multiple Y-axis

2007-05-22 Thread PA

Hello,

We use Matplotlib for the generation of graphs.
This library seems very complete and powerful.

Nevertheless we have difficulty making a graph that represents multiple
curves with multiple Y-Axis.
We don't find how to add a new Y-Axis:

   - on the left Y-axis and on the left of the axis
   - or on the left Y-axis and on the right of the axis
   - or on the right of the Y-axis and on the left of the axis
   - or on the right of the Y-axis and on the right of the axis.

We want to be able to plot a curve using one Y-axis or the other

Did some of you already implement such a graph ? 
Is there any documentation or example presenting similar graphs ?

We are looking for general indications and directions to follow to implement
such complex visualization, and would be pleased to receive any advice.
We are ready to precise our problem as well as possible.

Thanks in advance

--
Pierre-André Le Ny
Chef de produit SIG
Makina Corpus
-- 
View this message in context: 
http://www.nabble.com/Multiple-Y-axis-tf3795273.html#a10734643
Sent from the matplotlib - users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Multiple y-axis

2007-02-12 Thread kc106_2005-matplotlib
Hi all,

I am new to matplotlib.  I like to know how to create a plot that contains 
several y-axis (up to say, 6) with only 1 x-axis (similar to the two_scales.py 
type plot but with all of the y-axis on one side).  I know you can create 
multiple single curve plots on the same page but that's not what I want: I want 
one plot with multiple curves and one y-axis for each of the curves.

Any help is greatly appreciated.

Regards,
 
--
John Henry



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Multiple y axis plotting

2006-11-07 Thread Etrade Griffiths
After poking around in the Pylab source, managed to sort the multiple line 
plotting using

fig = self.get_figure()
ax1 = fig.gca()
ax2 = fig.add_axes(ax1.get_position(), sharex=ax1, frameon=False)

so issue closed for the moment



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Multiple y axis plotting

2006-11-07 Thread John Hunter
 Etrade == Etrade Griffiths [EMAIL PROTECTED] writes:

Etrade After poking around in the Pylab source, managed to sort
Etrade the multiple line plotting using

Etrade fig = self.get_figure() ax1 = fig.gca() ax2 =
Etrade fig.add_axes(ax1.get_position(), sharex=ax1,
Etrade frameon=False)

Isn't this what the twinx function does - heave you seen
http://matplotlib.sourceforge.net/examples/shared_axis_demo.py ?


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Multiple y axis plotting

2006-11-07 Thread Etrade Griffiths
John

thanks - twinx was indeed where I borrowed some of the lines 
from.  They're in the code explicitly 'cos it's a lot clearer to me than 
using twinx which is buried somewhere in the pylab interface

Alun Griffiths

At 15:32 07/11/2006, you wrote:
  Etrade == Etrade Griffiths [EMAIL PROTECTED] writes:

 Etrade After poking around in the Pylab source, managed to sort
 Etrade the multiple line plotting using

 Etrade fig = self.get_figure() ax1 = fig.gca() ax2 =
 Etrade fig.add_axes(ax1.get_position(), sharex=ax1,
 Etrade frameon=False)

Isn't this what the twinx function does - heave you seen
http://matplotlib.sourceforge.net/examples/shared_axis_demo.py ?



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Multiple y axis plotting

2006-11-06 Thread John Hunter
 Etrade == Etrade Griffiths [EMAIL PROTECTED] writes:

Etrade Hi new to Matplotlib and struggling to make a plot that
Etrade has three lines plotted on it: two are supposed to plot on
Etrade the LH y axis and the third on the RH y axis.  The code so
Etrade far is


 ax1 = fig.add_axes([0.1, 0.1,  0.8, 0.8])
 ax2 = fig.add_axes([0.9, 0.1, -0.8, 0.8])
 ^
[left, bottom, width, height]

negative numbers are not supported.  I don't know what kind of layout
you want, but start with something like


 ax1 = fig.add_axes([0.1, 0.1,  0.4, 0.8])
 ax2 = fig.add_axes([0.55, 0.1,  0.4, 0.8])

and once you have a working plot tweak from there.

JDH

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users