[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. > > How

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, bu

[Matplotlib-users] printing quality

2007-11-30 Thread Peter I. Hansen
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 scale. Then I try to go the postscript way, and the the labels scale nicely but the colored fields of axvsp

Re: [Matplotlib-users] Fitting a curve

2007-08-30 Thread Peter I. Hansen
On 8/30/07, Wolfgang Kerzendorf <[EMAIL PROTECTED]> wrote: > I know this is not completely matplotlib related but perhaps you can > help me none the less: > I want to fit a curve to a set of data. It's a very easy curve: y=ax+b. > But I want errors for a and b and not only the rms. Is that possible

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) >

[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 num