Re: [Matplotlib-users] Development advice needed

2012-10-03 Thread Anthony Floyd
Hi Jianbao, First some context: at the company I work for, we've been using matplotlib to do much of what you want to do for the past 4 years. We have created our own application for plotting, interrogating, and manipulating time-series data coming from both simulations and measurements, although

Re: [Matplotlib-users] Development advice needed

2012-10-03 Thread Anthony Floyd
Hi Jianbao, Do you have any references, such as screen shots, gallery, examples, or whatever? I am very curious to see what people can do with matplotlib. If you can find a Windows machine (or a Windows VM) and stomach a 60 MB download, visit

Re: [Matplotlib-users] offset in dragging a legend

2009-03-25 Thread Anthony Floyd
On Tue, Mar 24, 2009 at 11:37 PM, C M cmpyt...@gmail.com wrote: Using mpl 0.98.5.2 in OO mode with wxAgg backend. I'm trying to make my legends draggable.  It works, but there is a some inaccuracy with positioning.  As I drag it, the cursor outruns the position of the legend, and that error

Re: [Matplotlib-users] offset in dragging a legend

2009-03-25 Thread Anthony Floyd
Hi Che, I think you got bit by the reply to list non-feature of this list... In ours, we catch the mpl button down event and after establishing a hit on the legend do: I was using the pick event, not the button down event.  How do you establish a hit on the legend in the button down event

Re: [Matplotlib-users] Event handling, API programming

2008-10-29 Thread Anthony Floyd
Hi Adam, On Sun, Oct 26, 2008 at 4:34 PM, Adam [EMAIL PROTECTED] wrote: Hi, I'm trying to make myself a set of widgets for the first time. I've gotten to the point that I can draw rectangles and lines and make them do the right things when re-drawing figures, zooming, etc., but I'm still a

Re: [Matplotlib-users] multiple x axis

2008-10-22 Thread Anthony Floyd
On Wed, Oct 22, 2008 at 7:27 AM, Jeffrey Fogel [EMAIL PROTECTED] wrote: I've having a problem creating multiple x-axis and I'm hoping someone here will be able to help me. I have two directly correlated values (z and N) that I am using as the independent variables. What I would like to do is

Re: [Matplotlib-users] ANN: matplotlib website 1.0

2008-10-22 Thread Anthony Floyd
While I like the redesign (and Sphinx in general), it seems some information has gone missing, particularly with regards to the API documentation. For example, ticker.py has a tonne of useful information in the docstring about how to set up formatters and tickers. For some reason I just cannot

Re: [Matplotlib-users] ANN: matplotlib website 1.0

2008-10-22 Thread Anthony Floyd
On Wed, Oct 22, 2008 at 11:00 AM, Michael Droettboom [EMAIL PROTECTED] wrote: Some of the documentation has not yet been reformatted to reST for Sphinx. There is a status page here: http://matplotlib.sourceforge.net/devel/outline.html Ah, thanks! [snip] As to whether we provide the old

Re: [Matplotlib-users] save or pickle figure object

2008-10-09 Thread Anthony Floyd
] Sent: October 8, 2008 9:47 PM To: Anthony Floyd Cc: Anthony Floyd Subject: Re: [Matplotlib-users] save or pickle figure object Hi Anthony, On Tuesday 16 September 2008 20:30:26 Anthony Floyd wrote: On Tue, Sep 16, 2008 at 8:17 PM, Sebastien Binet [EMAIL PROTECTED] wrote: Hi

Re: [Matplotlib-users] place a wxPopupWindow based on pick event location

2008-09-24 Thread Anthony Floyd
On Wed, Sep 24, 2008 at 8:28 AM, C M [EMAIL PROTECTED] wrote: On Tue, Sep 23, 2008 at 7:22 PM, Anthony Floyd [EMAIL PROTECTED] wrote: On Tue, Sep 23, 2008 at 3:28 PM, C M [EMAIL PROTECTED] wrote: [snip] Thank you for the help. Unfortunately, I used some of your code and still had the same

Re: [Matplotlib-users] place a wxPopupWindow based on pick event location

2008-09-23 Thread Anthony Floyd
On Tue, Sep 23, 2008 at 3:28 PM, C M [EMAIL PROTECTED] wrote: I'm hoping to get help from matplotlib wxPython backend users... I'm struggling to get what is described in the subject line to work correctly. There was a sort of similar thread from 2006 here:

Re: [Matplotlib-users] save or pickle figure object

2008-09-16 Thread Anthony Floyd
On Tue, Sep 16, 2008 at 8:17 PM, Sebastien Binet [EMAIL PROTECTED] wrote: Hi Anthony, As you've already been told, you can't pickle/shelve mpl objects. Our solution to this is to have a native python shadow object that contains all the bits and pieces needed to create a figure, and always

Re: [Matplotlib-users] Custom pan button

2008-08-11 Thread Anthony Floyd
On Mon, Aug 11, 2008 at 1:31 PM, Jonathan Helmus [EMAIL PROTECTED] wrote: [snip] instance... which I use to add lines, set limits, etc but it doesn't have any of the pan functions (start_pan, end_pan, etc). self.canvas.figure.get_axes() (which is what seems to be used in the

[Matplotlib-users] Fwd: Moving legend with mouse?

2008-08-06 Thread Anthony Floyd
Oops, forgot to cc the list... -- Forwarded message -- From: Anthony Floyd [EMAIL PROTECTED] Date: Wed, Aug 6, 2008 at 12:28 PM Subject: Re: [Matplotlib-users] Moving legend with mouse? To: Søren Nielsen [EMAIL PROTECTED] On Fri, Aug 1, 2008 at 6:10 AM, Søren Nielsen [EMAIL

Re: [Matplotlib-users] Fwd: load data from string or array to Image

2008-03-27 Thread Anthony Floyd
On Wed, Mar 26, 2008 at 10:38 PM, sa6113 [EMAIL PROTECTED] wrote: I use matplotlib and Backend Agg to draw a plot , I want to show this plot in my GUI in specific area (Plot area) , I need to have the image object in [snip] Is it clear? Not to me :) Do you mean that you've already

[Matplotlib-users] Fwd: load data from string or array to Image

2008-03-26 Thread Anthony Floyd
Forgot to reply-to-list... -- Forwarded message -- From: Anthony Floyd [EMAIL PROTECTED] Date: Wed, Mar 26, 2008 at 4:54 PM Subject: Re: [Matplotlib-users] load data from string or array to Image To: sa6113 [EMAIL PROTECTED] On Wed, Mar 26, 2008 at 1:33 AM, sa6113 [EMAIL

Re: [Matplotlib-users] Watermarking figures/axes

2008-03-14 Thread Anthony Floyd
On Thu, Mar 6, 2008 at 3:00 AM, [EMAIL PROTECTED] wrote: Anthony Floyd [EMAIL PROTECTED] writes: I would like to 'watermark' a plot. That is, display an image 'under' several lines. [...] I've tried using figure.figimage, but that only draws the watermark 'outside' the plot area. Fair

Re: [Matplotlib-users] Watermarking figures/axes

2008-03-13 Thread Anthony Floyd
On Thu, Mar 6, 2008 at 3:00 AM, [EMAIL PROTECTED] wrote: Anthony Floyd [EMAIL PROTECTED] writes: I would like to 'watermark' a plot. That is, display an image 'under' several lines. [...] I've tried using figure.figimage, but that only draws the watermark 'outside' the plot area. Fair

Re: [Matplotlib-users] more than two y-axes

2008-02-01 Thread Anthony Floyd
On Jan 31, 2008 6:03 AM, Thomas Tanner [EMAIL PROTECTED] wrote: Hi, I'd like to have figure with 3 (or 4) plots having different scales but sharing the same x-axis. Basically I want an extension of the twinx command (see, e.g, two_scales.py demo). I'm using 0.91.2svn on MacOSX10.5.1 from