[Matplotlib-users] matshow unequal element sizes

2013-06-06 Thread Michiel de Hoon
Hi all, I am trying to draw a heatmap using matshow, which I then save as a PDF. If I then zoom in in the PDF, I notice that different rows have different sizes, and different columns have different sizes. It seems that some rows/columns have twice the height/width as other rows/columns.

[Matplotlib-users] pandas ts.plot object

2013-06-06 Thread Sudheer Joseph
Dear members,    Is there a way to add error bar to pandas ts.plot object?. with best regards, Sudheer *** Sudheer Joseph Indian National Centre for Ocean Information Services Ministry of Earth Sciences, Govt. of India

[Matplotlib-users] Problem setting clim for subplots

2013-06-06 Thread Julien Cornebise
Dear all I am puzzled: in the following code, when I call clim() *after* having created 3 subplots, only the last subplot takes the new limits into account. All other subplots ignore it. Xlim(), on the countrary, works as intended. Everything works fine when I set the clim() at creation time.

Re: [Matplotlib-users] matshow unequal element sizes

2013-06-06 Thread Michael Droettboom
By default (when interpolation=nearest) matplotlib is performing nearest neighbor interpolation on the image to the request PDF dpi before storing it in the file. This results in rows and columns of unequal size because the ratio from the original image to the destination resolution is likely

Re: [Matplotlib-users] Problem setting clim for subplots

2013-06-06 Thread Eric Firing
On 2013/06/06 2:08 AM, Julien Cornebise wrote: Dear all I am puzzled: in the following code, when I call clim() *after* having created 3 subplots, only the last subplot takes the new limits into account. All other subplots ignore it. Xlim(), on the countrary, works as intended. Everything

Re: [Matplotlib-users] matshow unequal element sizes

2013-06-06 Thread Michiel de Hoon
Thanks! Using pcolor indeed solved the problem. Now my rows and columns are all nice and even. Best, -Michiel. From: Benjamin Root ben.r...@ou.edu To: Michael Droettboom md...@stsci.edu Cc: Matplotlib Users matplotlib-users@lists.sourceforge.net Sent: