Re: [Matplotlib-users] Crash on import with CGI wrapped by PHP--unhappywith .matplotlib directory?

2008-08-02 Thread Rodney Haynie
Jonathan, If you did not get a response by now, you can try the following. import os# set HOME environment variable to a directory the httpd server can write to os.environ[ 'HOME' ] = 'c:/www/app/tmp/' Good luck. -Rodney _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: [Matplotlib-users] Retrieve Coordinates from Contour

2008-08-02 Thread Patrick Marsh
Hi Jeff (and others): Sorry for the misunderstanding. After your second email the first makes more sense. However, I still cannot figure out how to extract the lat,lon pairs from the LineCollection object. Searching on the web and based on Scott's suggestion from another email, I see that in th

[Matplotlib-users] Another way of getting contour co-ordinates [SEC=UNCLASSIFIED]

2008-08-02 Thread Scott Collis
Hi Patrick, I had to deal with this as well as I used Matplotlib's contourer to return position of features (eg certain levels of vorticity or MSLP) instead of basemapping it I just made a contour from the lat lons (ie cs=countour(lats, lons, field, levels=linspace(min,max,nl)) --code---code-- de

Re: [Matplotlib-users] Retrieve Coordinates from Contour

2008-08-02 Thread Jeff Whitaker
Patrick Marsh wrote: > Thanks for the quick reply. > > I may not have been totally clear on what I'm trying to save (or I > totally misunderstood what you were trying to say - which is certainly > possible). > > I'm not wanting to save the lat, lon pairs from the map projection. > I'm trying to

Re: [Matplotlib-users] default mathtext font

2008-08-02 Thread Eli Brosh
Thank you Michael, I tried switching the matplotlib font to Dejavu Sans but it also does not seem to recognize the lunate epsilon ϵ. When I wrote title(u'ϵ-Fe'), it printed ε-Fe instead. I tried several other fonts but the problem did not disappear. It seems that the bes choice after all is to writ

Re: [Matplotlib-users] Retrieve Coordinates from Contour

2008-08-02 Thread Patrick Marsh
Thanks for the quick reply. I may not have been totally clear on what I'm trying to save (or I totally misunderstood what you were trying to say - which is certainly possible). I'm not wanting to save the lat, lon pairs from the map projection. I'm trying to save the lat, lon pairs of the contou

Re: [Matplotlib-users] Retrieve Coordinates from Contour

2008-08-02 Thread Jeff Whitaker
Patrick Marsh wrote: > Hi Everyone, > > First email here... > > I am plotting meteorological data using matplotlib and basemap - and > can do this just fine. However, I would like to backout the > coordinates being used for the contours that are plotted. > > For example, if I were to contour win

[Matplotlib-users] Retrieve Coordinates from Contour

2008-08-02 Thread Patrick Marsh
Hi Everyone, First email here... I am plotting meteorological data using matplotlib and basemap - and can do this just fine. However, I would like to backout the coordinates being used for the contours that are plotted. For example, if I were to contour windspeed every 5 m/s and plot this (whic

Re: [Matplotlib-users] how add axes scale to my plot?

2008-08-02 Thread Mathieu Leplatre
On Sat, Aug 2, 2008 at 4:18 AM, sa6113 <[EMAIL PROTECTED]> wrote: > > No, unfortuantly matplotlib.axes dosen't have this attribute. > You can find demos in matplotlib examples of set_xlim() : in manual_axis.py : fig = figure(facecolor='white') ax = fig.add_subplot(111, frame_on=False) ax.plot(x,

Re: [Matplotlib-users] How to save figures in black and white

2008-08-02 Thread Darren Dale
On Saturday 02 August 2008 4:56:06 am David Cournapeau wrote: > Hi, > > I am using matplotlib for all my figure needs in academic papers, > but I would like to convert some of my figures (generally exported ni > eps and pdf) in black and white. I tried using colormaps, but when using > several

Re: [Matplotlib-users] Latest basemap version usable with matplotlib 0.91.2

2008-08-02 Thread Jeff Whitaker
Anand Patil wrote: > Hi all, > > I've decided to hitch my wagon to the enthought distribution, which > comes with matplotlib 0.91.2. .. so when I try to use > basemap I get > > : your matplotlib is too old - basemap > requires version 0.98 or > higher, you have version 0.91.2 >

[Matplotlib-users] Latest basemap version usable with matplotlib 0.91.2

2008-08-02 Thread Anand Patil
Hi all, I've decided to hitch my wagon to the enthought distribution, which comes with matplotlib 0.91.2... so when I try to use basemap I get : your matplotlib is too old - basemap requires version 0.98 or higher, you have version 0.91.2 I tried just installing matplotlib from svn, but it doesn'

[Matplotlib-users] How to save figures in black and white

2008-08-02 Thread David Cournapeau
Hi, I am using matplotlib for all my figure needs in academic papers, but I would like to convert some of my figures (generally exported ni eps and pdf) in black and white. I tried using colormaps, but when using several axes, I can't convert them all in one shot. Is there any way to say (in s

Re: [Matplotlib-users] how add axes scale to my plot?

2008-08-02 Thread sa6113
No, unfortuantly matplotlib.axes dosen't have this attribute. sa6113 wrote: > > I am using matplotlib to draw and show my plot, now I want to know how may > I add manual axes scale to it. > I need to manually show the axes scale (from min to max value that I have) > the below is some part of my