On Fri, Nov 5, 2010 at 7:12 AM, John M. Densmore (Cont, ARL/WMRD)
<john.m.densm...@us.army.mil> wrote:
> Hi All,
> I have multiple figures set up at the start of my code. through out the
> script I add data to the plots and at the end I would like to set all
> the figure parameters, like xlim, ylim, legend etc. But I can not figure
> out how to do it. Eample code
>
> fig1 = plt.figure(1)
> ax1 = fig1.add_subplot(111)
>
>
> fig2 = plt.figure(2)
> ax2 = fig2.add_subplot(111)
>
>
> fig3 = plt.figure(3)
> ax3 = fig3.add_subplot(111)
>
> ax1.plot(...)
> ax2.plot(...)
> ax3.plot(...)
>
>
> ax1.plot(...)
> ax2.plot(...)
> ax3.plot(...)
>
> # set the x and y lim <- how do I do this?
ax1.set_xlim(xmin, xmax)
ax1.set_ylim(ymin, ymax)
...

Ryan

-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to