Re: [Matplotlib-users] Export plot to Word

2008-03-13 Thread Chris Withers
Cheng-Kong Wu wrote: I created several plots and want to export them to a Word file sequentially, how can I do that? Why Word? It's a horrible file format and very difficult to deal with. Why not just use one of the PDF backends (I don't think I'm making that up, there are PDF back ends for

[Matplotlib-users] 3d graph combined with a 2D contour

2008-03-13 Thread Andy Cheesman
Hi people Using the axes3d functionality, I am able to create 3D graph of desired mathematical functions ala the cookbook example. However, it would be useful to be able to have a 2D contour plot upon the xy plane of a graph at the same time. I've googled to no avail and wondered if

Re: [Matplotlib-users] LinearSegmentedColormap

2008-03-13 Thread Ryan May
Michael Hearne wrote: Ryan - Thanks for your response. Shouldn't a color dictionary have 4 columns - a value, and the corresponding R,G,B values? If I understand your response, the row with 0.2 as the first column has only two values. How does LinearSegmentedColormap derive an RGB

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] Compiler error on OS X 10.5.2 in agg

2008-03-13 Thread Zachary Pincus
Hi Stephane, [CC'd to the matplotlib-users list in case others will find this useful.] I got the same problem. Can you tell me where you specified the -Os option to gcc to escape the problem? So the compile that command that failed is printed right above the error message it

[Matplotlib-users] Transforms

2008-03-13 Thread Rich Fought
I'm plotting some grid data using pcolor, and trying to get canvas pixel locations of data points using the ax.transData.xy_tup() method. I am saving these figures to PNG files using the default Agg backend. When I open these images up in Gimp and check the pixel locations, the X pixel

[Matplotlib-users] fill() function

2008-03-13 Thread Michael Hearne
I realize I was probably too wordy the first time I posted this: Does anyone know how to specify arbitrary colors to the fill() function? None of the following methods I tried seemed to work: ax.fill(array([0.25,0.75,0.75,0.25,0.25]),array ([0.75,0.75,0.25,0.25,0.75]),'#FF')

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

2008-03-13 Thread Christiaan Putter
-- Forwarded message -- From: Christiaan Putter [EMAIL PROTECTED] Date: 14 Mar 2008 03:22 Subject: Re: [Matplotlib-users] visualisation for utility usage sought To: Chris Withers [EMAIL PROTECTED] Hi there, I'm having trouble understanding what it is you exactly want. You said

[Matplotlib-users] Point-specific colors with scatter

2008-03-13 Thread Fred Mailhot
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 checked the docs and examples and can't