Oz Nahum wrote:
> What I want to do plot is a cross section, and there is no easy way to 
> extrapulate between points. Not in excell and not in matlab.

I hope you mean interpolate -- extrapolation is fraught with danger!


> here is a simplification:
> 
> 
>                                                  distance
>  _____________________________________________________
>  |
>  |                             x                                  x
>  |                 x                       x                              x
>  |
>  |     y                y          y                y          
> y                   y
>  |          
>  |              z       
>  |                           z                   z               
> z              z   
>  |
>  |

> Now I want to draw contours between the x's y's and z's.  This will 
> allow me to create very quickly lots' of graph of temp. prfiles of the 
> gulf.

OK, it looks like what you've got is some data on an irregularly spaced 
grid, in x.y space. To draw a contour plot of that data, you need to 
interpolate it onto a regular grid. Here is wiki page about that:

http://www.scipy.org/Cookbook/Matplotlib/Gridding_irregularly_spaced_data

In there, is says that MPL does not have this functionality built in -- 
is that still true?

If so, I'd like to see the Delaunay stuff included -- in fact, you could 
contour irregular data directly using Delaunay triangulation.

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to