Thank you for you reply. I tried to create one after the other but when
I did this my second plot was on top of the first one. The old plot
needs to be "flushed" before starting the second one.

This doesn't work:
import matplotlib.pyplot as plt
a=plt.plot([1, 2], [1, 2])
plt.savefig('1.png', dpi=100)
b=plt.plot([1, 2], [2,1])
plt.savefig('2.png', dpi=100)

In 2.png, a and b are on top of each other


On Tue, Aug 13, 2013 at 12:10:32AM -0600, Joseph Hardin wrote:
> Can you provide us with more information? You can create one plot, save it,
> and then create the second, or is there something more specific you are
> looking for?
> 
> 
> On Mon, Aug 12, 2013 at 11:58 PM, vwf <v...@vulkor.net> wrote:
> 
> > Hello,
> >
> > I need to create two plots (png files) in one go, two unrelated views of
> > the same dataset. There is good documentation about subplots but I
> > cannot locate documentation about two plots. Can someone tell me how it
> > is done?
> >
> >
> > ------------------------------------------------------------------------------
> > Get 100% visibility into Java/.NET code with AppDynamics Lite!
> > It's a free troubleshooting tool designed for production.
> > Get down to code-level detail for bottlenecks, with <2% overhead.
> > Download for free and get started troubleshooting in minutes.
> > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Matplotlib-users mailing list
> > Matplotlib-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >
> 
> 
> 
> -- 
> Joseph Hardin, MSEE
> Colorado State University
> Radar and Communications Laboratory
> One must do not violence to nature, nor model it in conformity to any
> blindly formed chimaera.
> -Janos Boylai

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to