[Matplotlib-users] Smooth contourplots

2010-07-25 Thread montefra
Hi, I am writing a program that reads three columns (one column containing the weights, the other two containing the values I want to plot) from a file containing the results from a MonteCarlo Markov Chain. The file contains thousends of lines. Then create the 2D histogram and make contourplots.

Re: [Matplotlib-users] Plot moves while using the "Zoom to rectangle" button

2010-07-25 Thread Benjamin Root
On Sun, Jul 25, 2010 at 5:04 PM, John Hunter wrote: > On Sun, Jul 25, 2010 at 3:14 PM, Benjamin Root wrote: > > I tried a bunch of the animation examples and widget examples with and > > without the patch. I could not find one that was affected by this bug, > > however, none of them were advers

Re: [Matplotlib-users] plot_surface shading and clipping error

2010-07-25 Thread arsbbr
Ben, your code fixed the shading problem, but it did not change anything on the clipping error. I also found that changing the cstride/rstride helps 'sometimes'. But also does changing the linewidth. The problem is consistency with my loop... I understand this is a bug that is not easy to fix.

Re: [Matplotlib-users] Plot moves while using the "Zoom to rectangle" button

2010-07-25 Thread John Hunter
On Sun, Jul 25, 2010 at 3:14 PM, Benjamin Root wrote: > I tried a bunch of the animation examples and widget examples with and > without the patch.  I could not find one that was affected by this bug, > however, none of them were adversely affected by the patch.  However, both > of the plot_moves.

Re: [Matplotlib-users] Plot moves while using the "Zoom to rectangle" button

2010-07-25 Thread Benjamin Root
On Sat, Jul 24, 2010 at 3:11 PM, John Hunter wrote: > On Sat, Jul 24, 2010 at 1:56 PM, Benjamin Root wrote: > > On Sat, Jul 24, 2010 at 12:17 PM, João Luís Silva > wrote: > >> > >> On 07/13/2010 02:31 AM, John Hunter wrote: > >>> > >>> On Mon, Jul 12, 2010 at 8:05 PM, John Hunter > wrote: > >>

Re: [Matplotlib-users] pygtk/pygtk.h: No such file or directory

2010-07-25 Thread Benjamin Root
On Sun, Jul 25, 2010 at 1:27 PM, Satish Raghunath wrote: > Hi > I got this error when I was trying to build the matplot lib > .src/backend_gdk.c:8:25: error: pygtk/pygtk.h: No such file or directory > src/backend_gdk.c: In function âpixbuf_get_pixels_arrayâ: > src/backend_gdk.c:18: error: âPyG

[Matplotlib-users] pygtk/pygtk.h: No such file or directory

2010-07-25 Thread Satish Raghunath
Hi I got this error when I was trying to build the matplot lib .src/backend_gdk.c:8:25: error: pygtk/pygtk.h: No such file or directory src/backend_gdk.c: In function âpixbuf_get_pixels_arrayâ: src/backend_gdk.c:18: error: âPyGObjectâ undeclared (first use in this function) src/backend_gdk.c:18:

Re: [Matplotlib-users] error AttributeError: 'module' object has no attribute 'use'

2010-07-25 Thread Benjamin Root
On Sun, Jul 25, 2010 at 1:55 AM, Satish Raghunath wrote: > Hi > I am getting this error* > File "aerialvision1.py", line 79, in > import startup > File "/home/satish/gpgpusim/gpgpu-sim_v2.1.1b/aerialvision/startup.py", > line 68, in > import guiclasses > File > "/home/satish/gpgpus

Re: [Matplotlib-users] plot_surface shading and clipping error

2010-07-25 Thread Benjamin Root
On Sun, Jul 25, 2010 at 5:19 AM, arsbbr wrote: > > Thanks, this was quite a tiny weekend project for you :) > I'll keep you tip in mind. > > Concerning the foreground/background issue: The problem here seems quite > random. It does not depend on the viewing angle. I rather just have to be > lucky

Re: [Matplotlib-users] plot_surface shading and clipping error

2010-07-25 Thread arsbbr
Thanks, this was quite a tiny weekend project for you :) I'll keep you tip in mind. Concerning the foreground/background issue: The problem here seems quite random. It does not depend on the viewing angle. I rather just have to be lucky everytime the plot command is executed. If the plotting went