Lionel Roubeyrie wrote: > hi all, > is there a way to plot (contourf) a .grd file from GMT directly with Basemap? > I have a problem with contourf because I can't reshape to 2D the Z values ,x > and y are in Lambert projection, so I can't compute the shape :-( > thanks > > Lionel: No, not directly. You have to read in the x,y,z values and convert them to 2D arrays. You'll have to give more details on your problem - just because x,y are in Lambert projection coordinates doesn't mean you can't reshape z.
-Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 NOAA/OAR/CDC R/PSD1 FAX : (303)497-6449 325 Broadway Boulder, CO, USA 80305-3328 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users