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 To: Michael Droettboom Cc: Matplotlib Users Sent: Friday, June 7, 2013 1:40 AM Subject: Re: [Matplotlib-users] matshow

Re: [Matplotlib-users] matshow unequal element sizes

2013-06-06 Thread Benjamin Root
On Thu, Jun 6, 2013 at 10:14 AM, Michael Droettboom wrote: > 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 ra

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 likel

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