Stephane Raynaud wrote: > On Thu, Mar 6, 2008 at 6:15 PM, Jeff Whitaker <[EMAIL PROTECTED]> wrote: > >> Stephane Raynaud wrote: >> > Hi, >> > >> > this scalebar is a really good idea! >> > >> > However, I suggest that all parameters must be optional: >> > - The position could be by default somewhere in the lower left corner >> > (for example). It may be interesting to find a "best" position using >> > the algo of legend. >> > - Then length could be estimated from automatically from the map >> coordinates. >> > >> > >> > >> Stephane: While I agree it would be nice to be able to just say 'give >> me a scalebar', I don't think having Basemap choose a default location >> and size would be very useful. You want the scalebar to be where there >> is nothing else drawn on the map, and this will be different in every >> case. >> > > Sure, but the algorithm used by legend tries to put the legend where > there is nothing drawn. > > > >> Plus, you probably want the length to be a nice round number, not >> an arbitrary fraction of the map domain. >> > > I was not thinking about a simple fraction, but a nice length taken > within values derived from a Locator scaled by a fraction on the map > domain. > >
Stephane: Sounds reasonable, but I don't have time to work on this now. Patches are always welcome! (including your caching module) -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: 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