Re: [Matplotlib-users] backend with edition capabilities

2012-03-09 Thread François Beaubert
Le 05/03/2012 21:37, Federico Ariza a écrit : Hi As I thought, this is a tricky subject. So far I just opened a github account and added the three files that I am using. https://github.com/fariza/MPL-Experimental-Backend I have tested this on linux, I do not know if it works on windows. I kn

Re: [Matplotlib-users] backend with edition capabilities

2012-03-05 Thread Federico Ariza
Hi As I thought, this is a tricky subject. So far I just opened a github account and added the three files that I am using. https://github.com/fariza/MPL-Experimental-Backend I have tested this on linux, I do not know if it works on windows. I know glade is not the right way to do it if I want t

Re: [Matplotlib-users] backend with edition capabilities

2012-03-01 Thread Matt Newville
Dear Andrea, All On 1 March 2012 22:31, Andrea Gavana wrote: > I thought the OP's original question was something like the Matlab > "plot editor" (or whatever is its name), which allows you to edit line > colours, styles, gridlines styles, this kind of stuff on a "live" plot > (mind you, it's be

Re: [Matplotlib-users] backend with edition capabilities

2012-03-01 Thread Benjamin Root
On Thursday, March 1, 2012, Jerzy Karczmarczuk < jerzy.karczmarc...@unicaen.fr> wrote: > Andrea Gavana : >> Anyway, if I am not completely off-track, this is something I had been >> looking for as well in matplotlib a while back (3, 4 years ago), but >> at that time I was told it would have been co

Re: [Matplotlib-users] backend with edition capabilities

2012-03-01 Thread Jerzy Karczmarczuk
Andrea Gavana : > Anyway, if I am not completely off-track, this is something I had been > looking for as well in matplotlib a while back (3, 4 years ago), but > at that time I was told it would have been complicated to implement it > for all the "live" backend (I can't recall the exact reason). >

Re: [Matplotlib-users] backend with edition capabilities

2012-03-01 Thread Benjamin Root
On Thu, Mar 1, 2012 at 3:31 PM, Andrea Gavana wrote: > On 1 March 2012 21:37, Benjamin Root wrote: > > > > > > On Wed, Feb 29, 2012 at 4:02 PM, Federico Ariza < > ariza.feder...@gmail.com> > > wrote: > >> > >> Dear all > >> > >> I am a long time matplotlib user (under linux) but new to the list >

Re: [Matplotlib-users] backend with edition capabilities

2012-03-01 Thread Andrea Gavana
On 1 March 2012 21:37, Benjamin Root wrote: > > > On Wed, Feb 29, 2012 at 4:02 PM, Federico Ariza > wrote: >> >> Dear all >> >> I am a long time matplotlib user  (under linux) but new to the list >> (second post). >> >> On of the things that bothers me the most is the inability of the standard >>

Re: [Matplotlib-users] backend with edition capabilities

2012-03-01 Thread Benjamin Root
On Wed, Feb 29, 2012 at 4:02 PM, Federico Ariza wrote: > Dear all > > I am a long time matplotlib user (under linux) but new to the list > (second post). > > On of the things that bothers me the most is the inability of the standard > backend to change simple things (line color, labels, etc...).

[Matplotlib-users] backend with edition capabilities

2012-02-29 Thread Federico Ariza
Dear all I am a long time matplotlib user (under linux) but new to the list (second post). On of the things that bothers me the most is the inability of the standard backend to change simple things (line color, labels, etc...). I resorted to create a simple FrankeinBackend (based on the GtkAgg)

Re: [Matplotlib-users] Backend neutral idle event won't repeat

2009-08-03 Thread Mark Rubelmann
On Mon, Aug 3, 2009 at 1:01 PM, Christopher Barker wrote: > John Hunter wrote: > >> Wriing a GUI neutal idle event handler is not easy -- I've spent some > >> time on it but crashed and burned on tk > > > I think > > it would be great if we could abstract the idle handler and timeout > > handler

Re: [Matplotlib-users] Backend neutral idle event won't repeat

2009-08-03 Thread Christopher Barker
John Hunter wrote: >> Wriing a GUI neutal idle event handler is not easy -- I've spent some >> time on it but crashed and burned on tk > I think > it would be great if we could abstract the idle handler and timeout > handler across the GUIs so that mpl animation would be easier, but to > date th

Re: [Matplotlib-users] Backend neutral idle event won't repeat

2009-08-02 Thread John Hunter
On Sun, Aug 2, 2009 at 9:39 AM, Mark Rubelmann wrote: > Thanks for the reply John.  Not quite the answer I was looking for > though ;)  I tried your suggestion of returning True but it didn't solve > the problem.  Oh well, not the end of the world.  Being a die-hard KDE user, > I started trying

Re: [Matplotlib-users] Backend neutral idle event won't repeat

2009-08-02 Thread John Hunter
On Sun, Aug 2, 2009 at 10:35 AM, John Hunter wrote: > On Sun, Aug 2, 2009 at 9:39 AM, Mark Rubelmann wrote: >> Thanks for the reply John.  Not quite the answer I was looking for >> though ;)  I tried your suggestion of returning True but it didn't solve >> the problem.  Oh well, not the end of

Re: [Matplotlib-users] Backend neutral idle event won't repeat

2009-08-02 Thread Mark Rubelmann
Thanks for the reply John. Not quite the answer I was looking for though ;) I tried your suggestion of returning True but it didn't solve the problem. Oh well, not the end of the world. Being a die-hard KDE user, I started trying to get things working with Qt. I got my animation working bu

Re: [Matplotlib-users] Backend neutral idle event won't repeat

2009-08-02 Thread John Hunter
On Sun, Aug 2, 2009 at 8:08 AM, John Hunter wrote: > Wriing a GUI neutal idle event handler is not easy -- I've spent some > time on it but crashed and burned on tk -- but my guess is that the > problem you are having in your code is that GTK expects you to return > True is you want the func to be

Re: [Matplotlib-users] Backend neutral idle event won't repeat

2009-08-02 Thread John Hunter
On Sat, Aug 1, 2009 at 12:05 PM, Mark Rubelmann wrote: > Hi, > > I'm writing a script to plot data being read from a serial connection in > real time.  I'm trying to use an idle_event callback to continually read the > incoming data and plot it.  The problem is that the callback is only getting > i

[Matplotlib-users] Backend neutral idle event won't repeat

2009-08-01 Thread Mark Rubelmann
Hi, I'm writing a script to plot data being read from a serial connection in real time. I'm trying to use an idle_event callback to continually read the incoming data and plot it. The problem is that the callback is only getting invoked once. I found this page: http://www.scipy.org/Cookbook/Mat

Re: [Matplotlib-users] Backend Comparison

2009-07-13 Thread vehemental
Let me give some results of experience regarding these issues On the same dataset of 600 *7500 points, with the simple plot function, (from the example, embedding in wxagg) WxAgg was much faster than Wx... on a linux machine, while the WxAgg drawing appeared close to a second or 2 after launc

Re: [Matplotlib-users] Backend Comparison

2009-07-12 Thread Sebastian Haase
On Sun, Jul 12, 2009 at 5:23 AM, John Hunter wrote: > On Sat, Jul 11, 2009 at 7:31 PM, Brian Lewis wrote: >> Does there exist any big-picture comparisons of the provided backends?  For >> example, it would be nice to know what features each backend has or lacks. >> It would also be nice to which ba

Re: [Matplotlib-users] Backend Comparison

2009-07-11 Thread John Hunter
On Sat, Jul 11, 2009 at 7:31 PM, Brian Lewis wrote: > Does there exist any big-picture comparisons of the provided backends?  For > example, it would be nice to know what features each backend has or lacks. > It would also be nice to which backends were generally faster...and which > were recommend

[Matplotlib-users] Backend Comparison

2009-07-11 Thread Brian Lewis
Does there exist any big-picture comparisons of the provided backends? For example, it would be nice to know what features each backend has or lacks. It would also be nice to which backends were generally faster...and which were recommended (WX or WXAgg). --

Re: [Matplotlib-users] Backend problem

2009-02-23 Thread Michael Droettboom
What platform are you on? There is apparently no good way to find the path to the Tcl/Tk header files. The setup script currently tries to import Tkinter, and create a window, in order to make an API call that returns the path. (Crazy, I know). Therefore, if it can't create a window (for exa

[Matplotlib-users] Backend problem

2009-02-23 Thread Nils Wagner
Hi all, How can I resolve the following backend problem ? What are the default library and include directories for tcl and tk ? Where should I define DISPLAY in that context ? python setup.py build --help OPTIONAL BACKEND DEPENDENCIES libpng: 1.2.7 Tkinter: Tkin

Re: [Matplotlib-users] Backend Control

2008-04-04 Thread Glenn H Tarbox, PhD
there's been some discussion on this, (I think). If by backend control, you mean greater degree of control over the event loop, there are a number of approaches available. For example, look through the threads at how twisted can be integrated with ipython0... ipython1 embraces asynchronous handli

Re: [Matplotlib-users] Backend Control

2008-04-04 Thread Alan G Isaac
>> On Wed, 2 Apr 2008, Wolfgang Kerzendorf wrote: >>> If I plot something with pylab.plot and then >>> pylab.show the first time. > Alan replied: >> http://matplotlib.sourceforge.net/faq.html#SHOW >> http://matplotlib.sourceforge.net/faq.html#OO On Fri, 4 Apr 2008, Wolfgang Kerzendorf apparen

Re: [Matplotlib-users] Backend Control

2008-04-04 Thread Alan G Isaac
On Thu, 03 Apr 2008, KURT PETERS apparently wrote: > how would one use a GUI event handler/timer? http://matplotlib.sourceforge.net/tutorial.html> (near the bottom) hth, Alan - Check out the new SourceForge.net Marketpl

Re: [Matplotlib-users] Backend Control

2008-04-03 Thread KURT PETERS
x27;t in # interactive mode, you'll need to use a GUI event handler/timer. but how would one use a GUI event handler/timer? Regards, Kurt Date: Wed, 2 Apr 2008 10:44:43 -0400 From: Alan Isaac <[EMAIL PROTECTED]> Subject: Re: [Matplotlib-users] Backend Control To: matplotlib-users@lis

Re: [Matplotlib-users] Backend Control

2008-04-02 Thread Alan Isaac
On Wed, 2 Apr 2008, Wolfgang Kerzendorf wrote: > If I plot something with pylab.plot and then > pylab.show the first time. http://matplotlib.sourceforge.net/faq.html#SHOW http://matplotlib.sourceforge.net/faq.html#OO hth, Alan Isaac

[Matplotlib-users] Backend Control

2008-04-02 Thread Wolfgang Kerzendorf
Hello, I have some problem with the backend controls. Well to be perfectly honest I don't know if they are able to do what I want from them. As far as I understand the pylab package helps me create plots (and the windows from the different backends) without me having to write my own wxpyt

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] 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

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] 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

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

2008-02-16 Thread Eric Firing
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 will need an interactive backend--not Agg, but TkAgg or GtkAgg etc. Then you end your script with "show()" (imported from pylab or matpl

[Matplotlib-users] Backend Agg - show plot

2008-02-16 Thread sa6113
How should I darw and show a plot using Backend Agg , I don't want to save figure , just show ? -- View this message in context: http://www.nabble.com/Backend-Agg---show-plot-tp15527044p15527044.html Sent from the matplotlib - users mailing list archive at Nabble.com. -

Re: [Matplotlib-users] Backend Agg - problem!

2008-02-15 Thread Alan G Isaac
On Thu, 14 Feb 2008, John Hunter apparently wrote: > if we want the script to be robust in the presence of > different use directives, eg matplotlib.use('TkAgg') then > it is good to have the show in there. Got it. So ``show`` is a no-op with irrelevant backends. Just to repeat: the documentat

Re: [Matplotlib-users] Backend Agg - problem!

2008-02-14 Thread John Hunter
On Thu, Feb 14, 2008 at 9:17 AM, Alan G Isaac <[EMAIL PROTECTED]> wrote: > On Thu, 14 Feb 2008, John Hunter apparently wrote: > > import numpy as np > > import matplotlib > > matplotlib.use('Agg') > > import matplotlib.pyplot as plt ...snip > > fig.savefig('myplot.png', dpi=100) > > plt.show(

Re: [Matplotlib-users] Backend Agg - problem!

2008-02-14 Thread Alan G Isaac
On Thu, 14 Feb 2008, John Hunter apparently wrote: > import numpy as np > import matplotlib > matplotlib.use('Agg') > import matplotlib.pyplot as plt > x, y = np.random.rand(2,100) > fig = plt.figure() > ax = fig.add_subplot(111) > ax.plot(x, y, marker='o', linestyle='', markerfacecolor='green')

Re: [Matplotlib-users] Backend Agg - problem!

2008-02-14 Thread Alan G Isaac
On Thu, 14 Feb 2008, someone wrote: > I want to draw an xy-plot using the " Backend Agg " of matplotlib. http://matplotlib.sourceforge.net/leftwich_tut.txt> hth, Alan Isaac - This SF.net email is sponsored by: Microsoft

Re: [Matplotlib-users] Backend Agg - problem!

2008-02-14 Thread John Hunter
On Thu, Feb 14, 2008 at 5:26 AM, sa6113 <[EMAIL PROTECTED]> wrote: > I want to draw an xy-plot using the " Backend Agg " of matplotlib. > But I don't know how I must start ... > > Would you plz help me or send me an example code ?? import numpy as np import matplotlib matplotlib.use('Agg') imp

[Matplotlib-users] Backend Agg - problem!

2008-02-14 Thread sa6113
I want to draw an xy-plot using the " Backend Agg " of matplotlib. But I don't know how I must start ... Would you plz help me or send me an example code ?? -- View this message in context: http://www.nabble.com/Backend-Agg---problem%21-tp15478464p15478464.html Sent from the matplotlib - users

Re: [Matplotlib-users] Backend

2006-11-17 Thread Charlie Moad
On 11/17/06, Asheesh Laroia <[EMAIL PROTECTED]> wrote: > On Fri, 17 Nov 2006, Timothy Wu wrote: > > > Must matplot be run with a backend installed suppose I only want to > > create a command line program and create plot and output as gif/jpg/png? > > Try the plain "Agg" backend rather than e.g. GTK

Re: [Matplotlib-users] Backend

2006-11-17 Thread Asheesh Laroia
On Fri, 17 Nov 2006, Timothy Wu wrote: > Must matplot be run with a backend installed suppose I only want to > create a command line program and create plot and output as gif/jpg/png? Try the plain "Agg" backend rather than e.g. GTKAgg or TkAgg. -- Asheesh. -- Ask not for whom the Bell tolls,

[Matplotlib-users] Backend

2006-11-17 Thread Timothy Wu
Must matplot be run with a backend installed suppose I only want to create a command line program and create plot and output as gif/jpg/png? Because import is giving me errors seemingly in reference to x server: from pylab import * Traceback (most recent call last): File "", line 1, in ? Fil