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.

Thanks again,

Hanno



Christian Meesters <[EMAIL PROTECTED]> said:

> 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:
> > 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 given
> > and are not calculated.
> >
> > Christian's suggestion with a scatter plot works fine for me, but if
> > there are other possibilities I'm always keen to learn something.
> >
> > Hope this clarifies matters.
> >
> > Best regards,
> > Hanno
> >
> > Louis Pecora <[EMAIL PROTECTED]> said:
> > > 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
> > > > Christian
> > >
> > > Actually sounds more like a surface or contour plot.  You have x, y,
> >
> > and
> >
> > > z where z=function of (x,y).  I thought there was a contour call in
> > > matplotlib.  I'll look.
> > >
> > > --
> > > Cheers,
> > >
> > > Lou Pecora
> > >
> > > Code 6362
> > > Naval Research Lab
> > > Washington, DC  20375
> > > USA
> > > Ph:  +202-767-6002
> > > email:  [EMAIL PROTECTED]
> >
> >
-------------------------------------------------------------------------
> >
> > > Using Tomcat but need to do more? Need to support web services,
> >
> > security?
> >
> > > Get stuff done quickly with pre-integrated technology to make your
> >
> > job easier
> >
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> >
> > Geronimo
> >
> > >
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > > _______________________________________________
> > > Matplotlib-users mailing list
> > > Matplotlib-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
>
-------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services,
security?
> Get stuff done quickly with pre-integrated technology to make your
job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 



-- 
Hanno Klemm
[EMAIL PROTECTED]



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to