Re: [Matplotlib-users] plot x y value(x,y)

2006-10-13 Thread Jake Emerson
o the data point that you define. It might be a hack, but it works ok. Cheers, Jake -Original Message- From: Louis Pecora [mailto:[EMAIL PROTECTED] Sent: Friday, October 13, 2006 7:47 AM To: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] plot x y value(x,y) Hanno K

Re: [Matplotlib-users] plot x y value(x,y)

2006-10-13 Thread Hanno Klemm
Yes, actually that's even better for what I want. However, after manipulating the Z values into a 2d array, I can then just as well use imshow to view their values. So I'll stick to the scatter plot approach for unevenly spaced data and to the contour/imshow approach for evenly gridded data. Tha

Re: [Matplotlib-users] plot x y value(x,y)

2006-10-13 Thread Louis Pecora
Hanno Klemm wrote: > Hi Louis, > > sorry for being unclear. What I have is a list of data points given in > the format > > x y value > > so my array looks like > > x_1, y_1, v_1 > x_2, y_2, v_2, > > etc. > > Now I want to plot a point at (x_i, y_i) and assign to it a color > according to v_i. The p

Re: [Matplotlib-users] plot x y value(x,y)

2006-10-13 Thread Christian Meesters
I think Louis' idea of using contour plots for your problem is not that bad. It depends, of course, on the actual meaning of your data ... Assume you understand German? Have a look here: http://www.python-forum.de/topic-5294.html Christian On Friday 13 October 2006 15:19, Hanno Klemm wrote: >

Re: [Matplotlib-users] plot x y value(x,y)

2006-10-13 Thread Hanno Klemm
Hi Louis, sorry for being unclear. What I have is a list of data points given in the format x y value so my array looks like x_1, y_1, v_1 x_2, y_2, v_2, etc. Now I want to plot a point at (x_i, y_i) and assign to it a color according to v_i. The problem is, that the values at x and y are g

Re: [Matplotlib-users] plot x y value(x,y)

2006-10-13 Thread Louis Pecora
Christian Meesters wrote: > Hi, > > No stupid question at all! I don't really understand your question, but it > sounds to me like a scatter plot is what you want. In that case, just have a > look at the scatter plot demos on the web page (-> screenshots) or in the > example files. > > HTH > Chr

Re: [Matplotlib-users] plot x y value(x,y)

2006-10-13 Thread Christian Meesters
Hi, No stupid question at all! I don't really understand your question, but it sounds to me like a scatter plot is what you want. In that case, just have a look at the scatter plot demos on the web page (-> screenshots) or in the example files. HTH Christian On Friday 13 October 2006 14:25, H

[Matplotlib-users] plot x y value(x,y)

2006-10-13 Thread Hanno Klemm
Hi, this is probably a stupid question, but somehow I just can't figure out how to do it. I have data given in an array with entries: x y data(x,y) and thus of shape (#data points, 3) what is the easiest way with mpl to plot these data points, susch that they are located at x,y and colored acc