Re: [Matplotlib-users] Some more mplot3d questions

2011-07-21 Thread gary ruben
Hi Ben, Comments inline... On Fri, Jul 22, 2011 at 1:31 AM, Benjamin Root wrote: > > > On Thu, Jul 21, 2011 at 1:10 AM, gary ruben wrote: >> >> I'm trying to make a surface plot using the latest version of mplot3d >> from the git trunk and I have a couple of questions. The attached >> image is c

[Matplotlib-users] PolyCollection and replotting

2011-07-21 Thread Fernando Moura
I am facing problems for plotting figures using polycollection. The code below should do: 1- set two triangles: one with vertices at [0,0 0,1 1,0] and the other at [1,0 0,1 1,1] 2- give two random values to them 3- add these polygons to polycollection and set their values 4- plot the triangles e

Re: [Matplotlib-users] hot to draw a line connecting a list of points

2011-07-21 Thread Paul Ivanov
Hi Robert, robert rottermann, on 2011-07-21 11:25, wrote: > who ever migth be interested: > I achieved my goal in drawing lines trough a set of points using the path > modul. > > http://matplotlib.sourceforge.net/users/path_tutorial.html Unless there were other considerations for getting this

Re: [Matplotlib-users] Some more mplot3d questions

2011-07-21 Thread Benjamin Root
On Thu, Jul 21, 2011 at 1:10 AM, gary ruben wrote: > I'm trying to make a surface plot using the latest version of mplot3d > from the git trunk and I have a couple of questions. The attached > image is close to what I would like. The associated plot command I am > using is > > ax.plot_surface(X,

Re: [Matplotlib-users] 1d heat map

2011-07-21 Thread Yoshi Rokuko
what are you using right now, something like that? >>> a = np.random.random(70) >>> x = np.empty([10,a.shape[0]]) >>> x[:,:] = a >>> pl.contourf(x) you might want to suppress ticks on the y-axis. best regards, yoshi --

Re: [Matplotlib-users] hot to draw a line connecting a list of points

2011-07-21 Thread robert rottermann
who ever migth be interested: I achieved my goal in drawing lines trough a set of points using the path modul. http://matplotlib.sourceforge.net/users/path_tutorial.html robert On 20.07.2011 20:49, robert rottermann wrote: > hi there, > > I would like to draw a a set of lines on top of an image.