[Matplotlib-users] Contours and imshow plots have offset

2007-10-18 Thread Christian Lerrahn
Hi, when I plot 2D data with imshow() and then add a contour plot, my contours have an offset in relation to the data. At the same time there is white space at the edge of my plot, so I assume that it is the imshow plot that actually gets shifted. I'm new to Python and matplotlib, so I don't really

Re: [Matplotlib-users] Equivalent to Gnuplot histeps style

2007-10-18 Thread Jeremy Conlin
On 10/18/07, Eric Firing <[EMAIL PROTECTED]> wrote: > Jeremy Conlin wrote: > > On 10/18/07, Eric Firing <[EMAIL PROTECTED]> wrote: > >> Jeremy Conlin wrote: > >>> On 10/17/07, Charles Seaton <[EMAIL PROTECTED]> wrote: > Jeremy, > > I ran across the answer to this last week while sear

Re: [Matplotlib-users] Equivalent to Gnuplot histeps style

2007-10-18 Thread Eric Firing
Jeremy Conlin wrote: > On 10/18/07, Eric Firing <[EMAIL PROTECTED]> wrote: >> Jeremy Conlin wrote: >>> On 10/17/07, Charles Seaton <[EMAIL PROTECTED]> wrote: Jeremy, I ran across the answer to this last week while searching the list for info on datestr2num (both subjects happene

Re: [Matplotlib-users] Equivalent to Gnuplot histeps style

2007-10-18 Thread Jeremy Conlin
On 10/18/07, Eric Firing <[EMAIL PROTECTED]> wrote: > Jeremy Conlin wrote: > > On 10/17/07, Charles Seaton <[EMAIL PROTECTED]> wrote: > >> Jeremy, > >> > >> I ran across the answer to this last week while searching the list for > >> info on datestr2num (both subjects happened to come up in the same

[Matplotlib-users] bug or problem in my configuration

2007-10-18 Thread humufr
Hi, I have a small problem with label. plot([0,1],[0,1]) xlabel(r'$ABCDEF$',fontsize=35) (but the size doesn't change anything) I obtain the result visible on the figure join. I think there are a problem when using latex and how the first character is handle. Thanks for matplotlib.

Re: [Matplotlib-users] facecolor and scatter

2007-10-18 Thread Manuel Metz
John, svn works fine now. thanks. John Hunter wrote: > On 10/18/07, John Hunter <[EMAIL PROTECTED]> wrote: > >> You should use the "c" argument for scatter -- this controls the facecolor. >> >> scatter(x,x+0.5, c='blue', s=50, alpha=0.5) >> >> This is a bit of an anachronism from matlab compatibi

Re: [Matplotlib-users] facecolor and scatter

2007-10-18 Thread John Hunter
On 10/18/07, John Hunter <[EMAIL PROTECTED]> wrote: > You should use the "c" argument for scatter -- this controls the facecolor. > > scatter(x,x+0.5, c='blue', s=50, alpha=0.5) > > This is a bit of an anachronism from matlab compatibility. This is now fixed in svn, so you can use facecolor as we

Re: [Matplotlib-users] facecolor and scatter

2007-10-18 Thread John Hunter
On 10/18/07, Manuel Metz <[EMAIL PROTECTED]> wrote: > It seems that the keywords facecolor (or color) and alpha can not be > used simultaniously when using "scatter": > > > import pylab > > x = pylab.npy.arange(0,10) > pylab.scatter(x,x, s=50, alpha=0.5) > pylab.scatter(x,x+0.5, facecolor='blue', s

Re: [Matplotlib-users] formatting tick labels

2007-10-18 Thread John Hunter
On 10/18/07, Jordan Atlas <[EMAIL PROTECTED]> wrote: > Hello, > >I'm having some trouble figuring out how to format the numerical > labels on the tick marks of an axes. For example, in the plot linked > below, I'd like the y-axis to display using scientific notation, and I'd > like to control

[Matplotlib-users] formatting tick labels

2007-10-18 Thread Jordan Atlas
Hello, I'm having some trouble figuring out how to format the numerical labels on the tick marks of an axes. For example, in the plot linked below, I'd like the y-axis to display using scientific notation, and I'd like to control the precision level. I feel like this should be somehow pos

[Matplotlib-users] facecolor and scatter

2007-10-18 Thread Manuel Metz
It seems that the keywords facecolor (or color) and alpha can not be used simultaniously when using "scatter": import pylab x = pylab.npy.arange(0,10) pylab.scatter(x,x, s=50, alpha=0.5) pylab.scatter(x,x+0.5, facecolor='blue', s=50, alpha=0.5) pylab.show() The alpha value of the second call

Re: [Matplotlib-users] Equivalent to Gnuplot histeps style

2007-10-18 Thread Eric Firing
Jeremy Conlin wrote: > On 10/17/07, Charles Seaton <[EMAIL PROTECTED]> wrote: >> Jeremy, >> >> I ran across the answer to this last week while searching the list for >> info on datestr2num (both subjects happened to come up in the same >> exchange). >> >> http://www.nabble.com/First-impression-from