[SciPy-user] griddata

Juan Martinez lobezno_2k at yahoo.es
Tue Jul 5 07:12:26 CDT 2005


Hi, I´m new using python, and i'd like to know if
there is something like matlab's griddata funtion. I
need to make a surface from same points and i like to
make all in python.

this is matlab code.
    j = load(nom)
    a=j(:,1);
    b=j(:,2);
    c=j(:,3);
    [X,Y]=meshgrid([0:297],[0:297]);
    [XI,YI,ZI]=griddata(a,b,c,X,Y,'cubic');
    h = surf(XI,YI,ZI,'EdgeColor','none')

Thanks.


		
______________________________________________ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es



More information about the SciPy-user mailing list