On Fri, Mar 27, 2009 at 7:30 AM, Bala subramanian <bala.biophys...@gmail.com
> wrote:

> Dear Friends,
>
> I am new to matplotlib. Just started with it. I have some queries, kindly
> help me to understand the following.
>

Welcome!


>
> i) How are pyplot and pylab are related. Is there any advantage of one over
> the other. In the matplotlib homepage examples are shown with both pyplot
> and pylab
>

See this FAQ:
http://matplotlib.sourceforge.net/faq/usage_faq.html#matplotlib-pylab-and-pyplot-how-are-they-related


>
> ii) How can i generage multi y-axes plot ie x y1 y2 y3 (with same x
> values). any small example script would be of much help to me.
>


plot([x,x,x], [y1, y2, y2], 'o')

See also this tutorial:
http://matplotlib.sourceforge.net/users/pyplot_tutorial.html


>
> iii) How to save the figure with a name. By default in which format the
> figure is saved ?
>


savefig('somefile.png') or savefig('somefile.pdf') etc.  The extension
determines the file format.  For details see

http://matplotlib.sourceforge.net/faq/installing_faq.html#backends

Hope this helps,
JDH
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to