Multiple Y-axis

View: New views
3 Messages — Rating Filter:   Alert me  

Multiple Y-axis

by PA :: Rate this Message:

| View Threaded | Show Only this Message

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

Re: Multiple Y-axis

by Benoit Donnet-2 :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

to the best of my knowledge, you have only the opportunity to use the  
left Y-axis and the right Y-axis  (use twinx())

Benoit

Le 22-mai-07 à 11:44, PA a écrit :

>
> 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@...
> 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://www.info.ucl.ac.be/~donnet




-------------------------------------------------------------------------
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@...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Re: Multiple Y-axis

by Bernhard Voigt-2 :: Rate this Message:

| View Threaded | Show Only this Message

Is there any documentation or example presenting similar graphs ?

Take a look at two_scales.py from the examples ( http://matplotlib.sourceforge.net/matplotlib_examples_0.90.0.zip)

Bernhard

-------------------------------------------------------------------------
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@...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users