Re: [Matplotlib-users] axis.fill()

2008-03-14 Thread Matthias Michler
Hello Michael, for me there seems to be no problem. I'm using maplotlib version 0.91.2 (you can get you version using: >>> import matplotlib >>> print matplotlib.__version__ I'm not sure if it is due to the version, but if it is possible you may want to update to 0.91.2. best regards Matthias

[Matplotlib-users] Repost: problem exporting mathtext to eps file in 0.91.2

2008-03-14 Thread Mark Bakker
Hello - I am trying this again. I recently upgraded to 0.91.2, and export of mathtext to eps files seems broken (at least with the default matplotlibrc file). Figure looks great on the screen (interactive mode). Exporting to png still works fine. But writing to eps file, the greek symbols (I tr

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 pl

[Matplotlib-users] Point-specific colors with scatter

2008-03-14 Thread Mark Bakker
Not sure, but do you just mean: Point-specific colors with scatter scatter([0,1,1,0],[0,0,1,1],10,'y',edgecolor='y') Gives yellow points with size 10 color yellow. Mark - This SF.net email is sponsored by: Microsoft Defy al

Re: [Matplotlib-users] Point-specific colors with scatter

2008-03-14 Thread Manuel Metz
Fred Mailhot wrote: > Hi there, > > I've got 4 time series that live in a 2-d space (imagine points at > (1,1), (1,2),(2,1), and (2,2) that drift a little over time), and I'm > using scatter() to show them. How can I plot so that each of the > groups of points has the same colour? > > I've checke

Re: [Matplotlib-users] Repost: problem exporting mathtext to eps file in 0.91.2

2008-03-14 Thread Bernhard Voigt
what are the values of pdf and ps fonttype in your rc file? try using this: ps.fonttype : 3 # Output Type 3 (Type3) or Type 42 (TrueType) pdf.fonttype : 3 # Output Type 3 (Type3) or Type 42 (TrueType) this includes the missing symbols into the ps/pdf file, if you choos

[Matplotlib-users] pcolor with non-rectangular pixels?

2008-03-14 Thread Michael Bauer
I'd like to make pcolor images using non-'cyl' projections, but I want the pcolor pixels to be trapezoidal rather than rectangular. Is this possible? Mike Example script" # example data lonin = numpy.arange(0.,360.,2.5) latin = numpy.arange(-90.,92.5,2.5) field = numpy.ones([len(latin),len(l

Re: [Matplotlib-users] shared xaxis and set_xticklabels([])

2008-03-14 Thread Bernhard Voigt
the set_visible method of the axis object should do the trick: ax1.get_xaxis().set_visible(False) same for ax2. bernhard On Thu, Mar 13, 2008 at 5:01 PM, Marcus Hauser < [EMAIL PROTECTED]> wrote: > Dear all, > > is it possible to use a shared xaxis for several plots and switch off > the xtic

Re: [Matplotlib-users] Polygon masking possible?

2008-03-14 Thread Chiara Caronna
Hi, I tried ds9 and It looks like this is what I would like to do (though I couldn't try funtools, but what you describe is good). DO you think it is possible to make something like this with matplotlib? Thanks a lot for your help, Chiara > Date: Wed, 12 Mar 2008 02:55:55 -0400 > From: [EMAIL P

Re: [Matplotlib-users] visualisation for utility usage sought

2008-03-14 Thread Chris Withers
(meant this to go to the list too) Christiaan Putter wrote: > I'm having trouble understanding what it is you exactly want. That's likely my fault ;-) > You said you want to indicate that 'the monthly usage between September 1st > and January 1st > was, on average, the same as that between Janua

[Matplotlib-users] plotting with missing data?

2008-03-14 Thread Chris Withers
Hi All, Say I have data that looks like: date x y z 2008-01-01 10 2008-01-02 21 11 2008-01-02 32 15 5 How can I plot it such that all three lines are plotted by that it's apparent two of them are missing some data? (I know I could just sub in zeros for the missing values, but I'd

Re: [Matplotlib-users] visualisation for utility usage sought

2008-03-14 Thread Christiaan Putter
:-) Hi there, Just stick to the original plan. We know you've got some fixed measurement points, it really doesn't matter how far apart or irregular they are. You use these points to interpolate all the values in between for the specific 'time unit' you want to represent. Look at http://www.sci

Re: [Matplotlib-users] plotting with missing data?

2008-03-14 Thread Eric Firing
Chris, Use masked arrays. See masked_demo.py in the mpl examples subdirectory. Eric Chris Withers wrote: > Hi All, > > Say I have data that looks like: > > date x y z > 2008-01-01 10 > 2008-01-02 21 11 > 2008-01-02 32 15 5 > > How can I plot it such that all three lines are plo

[Matplotlib-users] Animation / Tk?

2008-03-14 Thread Kenneth Miller
All, I've seen the examples for embedding matplot lib in Tk and the Tk animation example. However I've not yet been successful with creating an example where i can both animate data and stay in control of Tk. (The animation in tk example seems to lock the mainloop.) Does anyone have

Re: [Matplotlib-users] Polygon masking possible?

2008-03-14 Thread José Gómez-Dans
On Friday 14 March 2008 16:44:54 Chiara Caronna wrote: > I tried ds9 and It looks like this is what I would like to do (though I > couldn't try funtools, but what you describe is good). DO you think it is > possible to make something like this with matplotlib? Thanks a lot for your The initiating

[Matplotlib-users] Using matplot lib in wxPython problem refresh screen

2008-03-14 Thread Bob Cumming
Hello, I have a problem when I try to refresh a plot I create. The code is shown below: What I want to do is that when the user initiates a key press the plot is updated. (If you minimise and maximise then it is done, the problem is the repainting of the window. I have tried searching on

Re: [Matplotlib-users] Polygon masking possible?

2008-03-14 Thread Perry Greenfield
Note that numdisplay can display numpy arrays directly to ds9 without saving to a file. (http://stsdas.stsci.edu/numdisplay). Perry On Mar 14, 2008, at 12:44 PM, Chiara Caronna wrote: > Hi, > I tried ds9 and It looks like this is what I would like to do > (though I couldn't try funtools, bu

Re: [Matplotlib-users] Using matplot lib in wxPython problem refresh screen

2008-03-14 Thread Giorgio F. Gilestro
your self.show() is passing the order to the frame; you need to comunicate with the canvas with draw() I suggest you to use wxmpl, it is the best way to integrate mpl into wx http://agni.phys.iit.edu/~kmcivor/wxmpl/ Bob Cumming wrote: > Hello, > > I have a problem when I try to refresh a plot

[Matplotlib-users] Analyzing unprojected (spherical, geodetic) vector data and Matplotlib

2008-03-14 Thread Zane Selvans
Hello all, I need to do analysis of vector data (linear features, polylines) on the surface of a sphere. Many of the lines span a significant portion of the circumferance of the the body in question (Jupiter's moon Europa), and I want to be able to do the display of the data and analysis with

Re: [Matplotlib-users] pcolor with non-rectangular pixels?

2008-03-14 Thread Jeff Whitaker
Michael Bauer wrote: > I'd like to make pcolor images using non-'cyl' projections, but I want > the pcolor pixels to be trapezoidal rather than rectangular. Is this > possible? > > Mike > > Example script" > > # example data > lonin = numpy.arange(0.,360.,2.5) > latin = numpy.arange(-90.,92.5,2

Re: [Matplotlib-users] Analyzing unprojected (spherical, geodetic) vector data and Matplotlib

2008-03-14 Thread Jeff Whitaker
Zane Selvans wrote: > Hello all, > > I need to do analysis of vector data (linear features, polylines) on > the surface of a sphere. Many of the lines span a significant portion > of the circumferance of the the body in question (Jupiter's moon > Europa), and I want to be able to do the display

Re: [Matplotlib-users] Analyzing unprojected (spherical, geodetic) vector data and Matplotlib

2008-03-14 Thread Zane Selvans
Well, the translation/rotation on a sphere is just a kind of wish-list thing... but it would be awfully nice. It seems like someone must have done that, for re-drawing continental outlines as they drift across the surface of the earth over time or something. What I do need, for instance, is t

Re: [Matplotlib-users] Analyzing unprojected (spherical, geodetic) vector data and Matplotlib

2008-03-14 Thread Jeff Whitaker
Zane Selvans wrote: > Well, the translation/rotation on a sphere is just a kind of wish-list > thing... but it would be awfully nice. It seems like someone must > have done that, for re-drawing continental outlines as they drift > across the surface of the earth over time or something. > > What