Re: [Matplotlib-users] query about pyplot.text example

2010-01-02 Thread Phillip M. Feldman
Ah. It sounds as though one must consider the scale of the map, and then choose these offsets so that the text falls near but not too near the marker. It would be great if one could specify the text offsets in units of the font size rather than in units of map distance. Thanks! Phillip Eric

Re: [Matplotlib-users] query about pyplot.text example

2010-01-02 Thread Eric Firing
Dr. Phillip M. Feldman wrote: > The online documentation at URL= > http://www.scipy.org/Cookbook/Matplotlib/Maps has an example that uses > plt.text as follows: > > plt.text(xpt+5,ypt+5,name) > > Why is the offset 5? The proj library used by Basemap transforms lon, lat to meters, so

[Matplotlib-users] query about pyplot.text example

2010-01-02 Thread Dr. Phillip M. Feldman
The online documentation at URL= http://www.scipy.org/Cookbook/Matplotlib/Maps has an example that uses plt.text as follows: plt.text(xpt+5,ypt+5,name) Why is the offset 5? -- View this message in context: http://old.nabble.com/query-about-pyplot.text-example-tp26999119p26999119.ht

Re: [Matplotlib-users] Problem with multiple plots

2010-01-02 Thread jm982
AlanIsaac wrote: > > http://matplotlib.sourceforge.net/faq/howto_faq.html#use-show > > Thanks. Obviously, I did not do a good enough job reading the faq... -- View this message in context: http://old.nabble.com/Problem-with-multiple-plots-tp26976541p26998858.html Sent from the matplotlib

Re: [Matplotlib-users] Problem with multiple plots

2010-01-02 Thread Alan G Isaac
http://matplotlib.sourceforge.net/faq/howto_faq.html#use-show -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to

[Matplotlib-users] Problem with multiple plots

2010-01-02 Thread jm982
When I run the script below, the first plot window prints fine, but the second plot causes the script to crash and prints this error message: << Fatal Python error: PyEval_RestoreThread: NULL tstate This application has requested the Runtime to terminate in an unusual way. Please contact the appli

[Matplotlib-users] Problems generating postscript!

2010-01-02 Thread Eric Emsellem
Hi I am having reccurrent problem generating postscript files using savefig. I am basically generating a figure with lots of small thumbnail images (loaded with mpl pcolormesh and contour) and some overimposed text. When I do: savefig("myfig.eps") it takes quite a while, and makes rather big fi