Hi Jeff,
yes I see this method, but set_xlim and set_ylim use axes coordinates, and I 
would like to use geographic coordinates.
It would be great if we could put an image in a map directly by specifying its 
geographic coordinates

Le mardi 26 février 2008, Jeff Whitaker a écrit :
> Lionel Roubeyrie wrote:
> > Hi all,
> > I'm sure it's a trivial question, but can't find any valid answer in the
> > basemap examples directory or with google : I have a georeferenced TIFF
> > file in 'lcc' projection, representing a little portion of France, and I
> > need to put it on a map, resets map limits to a closed portion of the
> > map, and put contours on it. I see how to initialise Basemap with the
> > limits of the raster, but not how to "make a zoom" in the map by
> > specifing coordinates. Thanks for your help
>
> Lionel:  You can use the set_xlim and set_ylim axes methods to manually
> 'zoom' the plot.  It has to be done after all the other plotting though,
> since all the Basemap methods (contour, imshow etc) will reset the axes
> limits to show the entire map region.
>
> -Jeff



-- 
Lionel Roubeyrie - [EMAIL PROTECTED]
Chargé d'études et de maintenance
LIMAIR - la Surveillance de l'Air en Limousin
http://www.limair.asso.fr


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to