Re: [Matplotlib-users] Polygon masking possible?

2008-03-12 Thread Jae-Joon Lee
Hi, I often do this with ds9 and funtools. ds9 is an astronomy-oriented image viewer (http://hea-www.harvard.edu/RD/ds9/) but you can also use it with numpy array. Within ds9, you can define regions (ellipse, polynomial, etc) easily with a mouse. After you define a region (and save it as a file),

Re: [Matplotlib-users] [newbie] live plots of multiple lines

2008-03-12 Thread Matthias Michler
Hello Chris, maybe I don't know exactly what you want to do - let me try once more: You try to plot a line where point need to be added, isn't it? My first idea was that there should be independent points. maybe something like the following helps you:

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

2008-03-12 Thread Mark Bakker
Hello - 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 tried \theta and \lambda)

Re: [Matplotlib-users] arangement / merge of multiple figures /list of figures

2008-03-12 Thread Christiaan Putter
Dear Mr. Zickermann, Look for a thread titled 'subplots from existing figures' (5th March) or something similar. I posted a function there that takes in a list of figures and spits out a new one containing those. There is still a bug in it though. For some reason copying axes from one figure

Re: [Matplotlib-users] arangement / merge of multiple figures /list of figures

2008-03-12 Thread Robin
On Wed, Mar 12, 2008 at 7:37 PM, Christiaan Putter [EMAIL PROTECTED] wrote: Look for a thread titled 'subplots from existing figures' (5th March) or something similar. I posted a function there that takes in a list of figures and spits out a new one containing those. There is still a bug in

[Matplotlib-users] best way to display an imshow() with the correct shape ?

2008-03-12 Thread Auré Gourrier
Dear all, I've been trying to plot a 'pixel' image of data contained in an array with a given shape. The imshow() func is perfect for this however, the image is usually displayed with margins within a figure. I tried to get rid of this margin to get the axes in full view. However, I never

[Matplotlib-users] LinearSegmentedColormap

2008-03-12 Thread Michael Hearne
I'm trying to understand the usage of Colormaps, and LinearSegmentedColormaps in particular. I can create segmentdata that looks like the example at the bottom of this message. Each color has a 3x9 list of values. I can then construct a LinearSegmentedColormap as follows: palette =

Re: [Matplotlib-users] LinearSegmentedColormap

2008-03-12 Thread Ryan May
Michael Hearne wrote: I'm trying to understand the usage of Colormaps, and LinearSegmentedColormaps in particular. I can create segmentdata that looks like the example at the bottom of this message. Each color has a 3x9 list of values. I can then construct a LinearSegmentedColormap as

Re: [Matplotlib-users] best way to display an imshow() with the correct shape ?

2008-03-12 Thread Ryan May
Auré Gourrier wrote: Dear all, I've been trying to plot a 'pixel' image of data contained in an array with a given shape. The imshow() func is perfect for this however, the image is usually displayed with margins within a figure. I tried to get rid of this margin to get the axes in full

[Matplotlib-users] Export plot to Word

2008-03-12 Thread Cheng-Kong Wu
Dear all, I created several plots and want to export them to a Word file sequentially, how can I do that? Thanks! Cheng-kong __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com