[Matplotlib-users] numpy loadtxt and comments

2009-12-03 Thread Peter I. Hansen
Hi All Not really about matplotlib, but since the load() function was removed it seems we have to use numpy.loadtxt in stead. I'm reading some datafiles that have comment line beginning with both '#' and '@'. Is there a way to assign two different values to the 'comments' keyword? Thanks, Peter

Re: [Matplotlib-users] problems in Inkscape with SVG exported from matplotlib

2008-03-26 Thread Peter I. Hansen
On Tue, Mar 25, 2008 at 11:33 PM, Kaushik Ghose [EMAIL PROTECTED] wrote: Hi Everyone, I have a peculiar problem, and I wonder if anyone can assist me. I have two figures generated from matplotlib and saved as svgs. They both print fine, and they load in Inkscape just fine. However,

Re: [Matplotlib-users] printing quality

2007-11-30 Thread Peter I. Hansen
On Nov 30, 2007 4:58 PM, Michael Droettboom [EMAIL PROTECTED] wrote: Peter I. Hansen wrote: Hi I'm typestting some graphs including a few axvspan's with eg. a facecolor='0.6' . This looks very nice if I output a PNG, but when I inculde this in my TeX document the axis labels dosn't

[Matplotlib-users] plotting a contour of gridded data

2007-07-10 Thread Peter I. Hansen
Hello I have gridded data of the shape: x_1 y_1 z_1 x_1 y_2 z_2 . . . x_1 y_N z_N x_2 y_1 z_(N+1) x_2 y_2 z_(N+2) . . . x_2 y_N z_(2N) x_M y_1 z_(MN) x_M y_2 z_(MN) .. . x_M y_N z_(MN) I've tried to follow the contour_demo script by making x = arange(M

Re: [Matplotlib-users] plotting a contour of gridded data

2007-07-10 Thread Peter I. Hansen
On 7/11/07, Eric Firing [EMAIL PROTECTED] wrote: Peter I. Hansen wrote: Hello I have gridded data of the shape: x_1 y_1 z_1 x_1 y_2 z_2 . . . x_1 y_N z_N x_2 y_1 z_(N+1) x_2 y_2 z_(N+2) . . . x_2 y_N z_(2N) x_M y_1 z_(MN) x_M y_2 z_(MN