Re: [Matplotlib-users] Subplots from existing figures

2008-02-17 Thread Robin
On Feb 18, 2008 4:44 AM, Eric Firing <[EMAIL PROTECTED]> wrote: > I'm not sure I understand what you want to do; is it to recycle axes > objects that were originally in one or more figures and put them in > another figure? Hi, I have a number of figures created from functions like this: fig1 = pl

Re: [Matplotlib-users] Backend Agg - show plot

2008-02-17 Thread Eric Firing
sa6113 wrote: > My OS is win XP and I run my program from command prompt and IDLE both , and > there isn't any error. > I can save the plot with (savefig) but the show() command dose not work and > I can't see the plot on my screen and also I want to use Backend Agg insted > of pylab. 1) Using the

Re: [Matplotlib-users] Backend Agg - show plot

2008-02-17 Thread sa6113
My OS is win XP and I run my program from command prompt and IDLE both , and there isn't any error. I can save the plot with (savefig) but the show() command dose not work and I can't see the plot on my screen and also I want to use Backend Agg insted of pylab. Darren Dale-2 wrote: > > On Sunda

Re: [Matplotlib-users] Subplots from existing figures

2008-02-17 Thread Eric Firing
Robin, I'm not sure I understand what you want to do; is it to recycle axes objects that were originally in one or more figures and put them in another figure? It looks like that might be doable if you create the new figure, then for each axes call ax.set_figure(newfig), and then for each axe

Re: [Matplotlib-users] Subplots from existing figures

2008-02-17 Thread Robin
On Feb 15, 2008 12:04 PM, Robin <[EMAIL PROTECTED]> wrote: > Hello, > > I have some functions that produce various figures. This is usually > done by calling figure(), then the plot function (eg bar). I save the > figure object and pass it out. > > I would like to be able to collect several figure

Re: [Matplotlib-users] Backend Agg - show plot

2008-02-17 Thread Darren Dale
On Sunday 17 February 2008 4:32:39 am sa6113 wrote: > Thanks for your help > I use the code below , but the plot wont be diplayed on my screen . > > matplotlib.use('TkAgg') > import matplotlib.pylab as plt > fig = plt.figure() > ax = fig.add_subplot(111) > ax.plot(x, y, marker='o', linestyle='', ma

Re: [Matplotlib-users] Backend Agg - show plot

2008-02-17 Thread sa6113
Thanks for your help I use the code below , but the plot wont be diplayed on my screen . matplotlib.use('TkAgg') import matplotlib.pylab as plt fig = plt.figure() ax = fig.add_subplot(111) ax.plot(x, y, marker='o', linestyle='', markerfacecolor='green') ax.set_title('Some random dots') ax.se