[Matplotlib-users] savefig

2007-08-30 Thread Martin Bures
Hi - I am writing a script that will generate many figures. Currently this script lives in matlab and outputs these figures to a single .ps file: if( first ) print( nfig, '-dpsc2', '-r300', '-loose', filename ); else print( nfig, '-dpsc2', '-r300', '-loose', '-append', filename ); end

Re: [Matplotlib-users] PS and imshow

2007-08-30 Thread Jouni K . Seppänen
Petr Danecek <[EMAIL PROTECTED]> writes: > On Fri, 2007-08-24 at 20:03, Jouni K. Seppänen wrote: > >> savefig('foo10.ps', dpi=10) >> savefig('foo100.ps', dpi=100) > > In fact, the dpi option does change the resulting PS file, but the > quality is still very poor - see the example > http://ww

Re: [Matplotlib-users] Question to scatter plot

2007-08-30 Thread Jouni K . Seppänen
"Alexander Dietz" <[EMAIL PROTECTED]> writes: > Although the scatter command is called later, any point drawn with the " > scatter"-command lies behind the black crosses drawn by the "plot" command. > Any ideas how to get the order right? Set the zorder property. Try e.g.: clf() l=plot(rand(50),

[Matplotlib-users] Question to scatter plot

2007-08-30 Thread Alexander Dietz
Hi, I have problems with plotting in matplotlib. I want to plot something and then overlay this plot with a scatter plot, so like this: clf() plot( sx, sy, 'kx') hold(True) scatter( ix, iy, 40, c=iz, faceted=False) colorbar() hold(False) Although the scatter command is called later, any point dr

Re: [Matplotlib-users] Fitting a curve

2007-08-30 Thread Steve Schmerler
Wolfgang Kerzendorf 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. > What tasks do you recommen

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

[Matplotlib-users] Fitting a curve

2007-08-30 Thread Wolfgang Kerzendorf
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. What tasks do you recommend for doing that. Thanks in advance