Re: [Matplotlib-users] Showing the plot in the specific location

2008-02-18 Thread sa6113
I am writting an application that evaluate curve fit and draw its plot in a GUI , I want to draw or show the plot on the GUI not on the pop up window, but I don't want to save the figure in first step , user just enter an order for the curve fit and see their plots on the main window (GUI) . How c

Re: [Matplotlib-users] [wxPython-users] Re: MatPlotLib + Py2exe, backend problems ...

2008-02-18 Thread John Hunter
On Feb 18, 2008 1:11 PM, Stef Mientki <[EMAIL PROTECTED]> wrote: > What is setup.cfg, where can I find it and where can I get information > about it ? Let's keep this on matplotlib-users so we don't annoy the good folks at the wxpython and distutils lists... setup.cfg is a build/configure file t

Re: [Matplotlib-users] [wxPython-users] Re: MatPlotLib + Py2exe, backend problems ...

2008-02-18 Thread Stef Mientki
John Hunter wrote: > On Feb 16, 2008 5:19 AM, Stef Mientki <[EMAIL PROTECTED]> wrote: > > >> In Py2exe I tried to exclude as many backends as possible, >> but the excludes seems to have no effect. >> 'excludes' : [ >> '_gtkagg', '_tkagg', '_agg2', '_cairo', '_cocoaagg', >>

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

2008-02-18 Thread Chris Kennedy
hi, try this. It is simpler then some of the examples: import pylab # func - list of X, Y coordinates func = [ 0, 0, 1, 2, 2, 3, 3, 2, 4, 1, 5, 1.4, ] # pylab.plot(func[0::2], func[1::2], 'b-', linewidth=3) pylab.title(' Plot for function ...') pylab.xlabel(' X name ') pylab.ylabel(' Y name ' ) p

Re: [Matplotlib-users] Subplots from existing figures

2008-02-18 Thread Robin
Thanks very much for all your help. On Feb 18, 2008 3:44 PM, John Hunter <[EMAIL PROTECTED]> wrote: > It's not that it isn't supported, it's just rarely used and so may > have slowly broken over time. It is useful, so It would be worthwhile > for us to fix it. Are you using 0.91.2 or svn? I am

Re: [Matplotlib-users] Subplots from existing figures

2008-02-18 Thread John Hunter
On Feb 18, 2008 9:34 AM, Robin <[EMAIL PROTECTED]> wrote: > figs = [x[0] for x in results] > oldaxs = [fig.get_children()[1] for fig in figs] > for fig, ax in zip(figs,oldaxs): > fig.delaxes(ax) > pl.close(fig) Probably better: oldaxs = [] for fig in figs: for ax in fig.axes:

Re: [Matplotlib-users] Subplots from existing figures

2008-02-18 Thread Robin
On Feb 18, 2008 2:00 PM, John Hunter <[EMAIL PROTECTED]> wrote: > You will need to remove the axes from the original figure: > > oldfig.delaxes(ax) > > > and then add it to the new figure > > ax.set_figure(newfig) > newfig.add_axes(ax) > > If you are adding several, you may want to play with

Re: [Matplotlib-users] MatPlotLib + Py2exe, backend problems ...

2008-02-18 Thread John Hunter
On Feb 16, 2008 5:19 AM, Stef Mientki <[EMAIL PROTECTED]> wrote: > In Py2exe I tried to exclude as many backends as possible, > but the excludes seems to have no effect. > 'excludes' : [ > '_gtkagg', '_tkagg', '_agg2', '_cairo', '_cocoaagg', > '_fltkagg', '_gtk', '_gtkcairo

[Matplotlib-users] matplotlib pycon tutorial deadline monday

2008-02-18 Thread John Hunter
In case you missed it, I will be presenting a tutorial on matplotlib a this year's pycon. If you are coming to the conference, are are already in the Chicago area, you may want to consider signing up for the tutorial http://us.pycon.org/2008/tutorials/ I think tomorrow is the deadline for regist

[Matplotlib-users] MatPlotLib + Py2exe, backend problems ...

2008-02-18 Thread Stef Mientki
hello, I'm trying to create a distro with py2exe, including MatPlotLib. After finally resolving the matplotlib datapath problem, I bumped into a new problem concerning backends. I'm using MatPlotLib 0.91.2 I only need the wx-Backend. In Py2exe I tried to exclude as many backends as possible, but

Re: [Matplotlib-users] plotting from xemacs always 1 step behind

2008-02-18 Thread Neal Becker
On Tuesday 12 February 2008, John Hunter wrote: > On Feb 12, 2008 6:49 AM, Neal Becker <[EMAIL PROTECTED]> wrote: > > This is a bit wierd. > > > > If running from xemacs, it seems interactive plotting is always 1 step > > behind. > > I assume you have set 'interactive : True' in your rc file? What

Re: [Matplotlib-users] Subplots from existing figures

2008-02-18 Thread John Hunter
On Feb 18, 2008 1:43 AM, Robin <[EMAIL PROTECTED]> wrote: > If I move the axes over as you describe, will this also bring the > plotted data, titles etc.? I will try and play around with this later > today. Would I first have to delete the existing axes created when I > create the subplot? Wouldn'

Re: [Matplotlib-users] Showing the plot in the specific location

2008-02-18 Thread John Hunter
On Feb 18, 2008 7:07 AM, sa6113 <[EMAIL PROTECTED]> wrote: > How can I show my plot figure in the specific location or part of an > application , I am using pylab. What kind of application are you writing -- are you using a GUI toolkit like Tkinter? We need more details please. It is not very c

[Matplotlib-users] Showing the plot in the specific location

2008-02-18 Thread sa6113
How can I show my plot figure in the specific location or part of an application , I am using pylab. -- View this message in context: http://www.nabble.com/Showing-the-plot-in-the-specific-location-tp15545079p15545079.html Sent from the matplotlib - users mailing list archive at Nabble.com. --

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

2008-02-18 Thread sa6113
Thanks alot for your help, I could show the plot on the screen on python 2.4 . I've used pyhton 2.3 . Eric Firing wrote: > > sa6113 wrote: >> How should I darw and show a plot using Backend Agg , I don't want to >> save >> figure , just show ? > > If you don't want to save a figure, then you w