From: Jim B. <jb...@se...> - 2004-10-05 23:56:53
|
Congratulations to you and Ms. Hunter! Jim On Tue, 5 Oct 2004, John Hunter wrote: > > from tempfile import mktemp > from urllib import urlretrieve > from matplotlib.matlab import * > > url = 'http://matplotlib.sf.net/clara.png' > fname = mktemp('.png') > print 'Downloading image; this may take a minute...' > urlretrieve(url, fname) > > figure(figsize=(8,6)) > im = imread(fname) > imshow(im) > axis('off') > title('Clara Charlotte Hunter, born 10/2/2004') > show() > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Dr. James A. Benson United States Naval Observatory Navy Prototype Optical Interferometer Flagstaff, AZ 86001 Email: jb...@no... jb...@se... Voice: 928-773-4868/928-779-5132 Fax: 928-779-9568 |