Re: [Matplotlib-users] Reusing basemap instance

2007-05-09 Thread jl
Jeff Whitaker wrote:
 Jesper:  You might consider just deleting the figure elements that you
 don't want to re-use (instead of figuring out everything you do want to
 re-use).

Thanks, that approach sounds more sensible than mine.

 Very nice web site!  Are the plots generated on the fly, or are they
 pre-generated?

Thanks. The vertical profiles, time series and horizontal-vertical transect
plots are always generated on the fly. The horizontal contour maps are
generated on the fly if they do not already exist. There is a low priority
process running in the background which generates contour maps for the fields
at the sea surface (but not at depth) to reduce the time users have to wait.
This does not need to be done prior to putting the forecasts on the web but can
be done when it is already available (if someone requests a plot which has not
already been generated it will then just be generated upon the request).

Besides numpy and Matplotlib I have used the TurboGears rapid web development
megaframework (which is mainly a stack of Python technologies for web
development) and PyNIO for data access in the application.

- Jesper

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] plotting wind-speed time series

2007-05-09 Thread kc106_2005-matplotlib
Thanks for the message, Lionel.

I am now able to run windrose.py using Derek's sample data.  I was having 
trouble at first but after updating scipy to the latest version, the problem 
went away.

Now, I am trying to convert my data into a format acceptable to windrose.  As 
indicated before, my data is of the form:

time-stamp (dd/mm/yy hh:mm), wind speed, wind direction

and so I need to do some kind of conversion.

Thanks again.

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of Lionel Roubeyrie
 Sent: Wednesday, May 09, 2007 12:13 AM
 To: matplotlib-users@lists.sourceforge.net
 Subject: Re: [Matplotlib-users] plotting wind-speed time series
 
 
 Hi John,
 sorry for the latency, 08 may is a special day in France.
 Derek gives you a good example of how to use windrose, in 
 addition I just say 
 you can directly modify the font size of the legend with the 
 legendsize 
 option (have a look at all the options with help(windplot)). 
 Except is what you want. Cordialy
 
 PS: I'm working on a graphical interface for windrose, don't 
 know when I can 
 finalyse it, maybe for the next month. I set a screenshot here.
 
 Le Lundi 07 Mai 2007 23:47, [EMAIL PROTECTED] a écrit :
  Thanks to everybody that responded to my question.
 
  After looking at the different options, I do agree that windrose.py 
  fits my need the best.  Unfortunately, there is insufficient 
  information embedded in the code to the point where I can 
 use it.  I 
  sent the author a email requesting more info and hopefully he would 
  respond.
 
  Just in case, have anybody used this code successfully?  If 
 so, could 
  you please share a sample dataset to use windrose.py?
 
  Thanks,
 
   grab windrose.py at the end of this thread
  
  http://www.nabble.com/windrose-t1392107.html
  
  I've not used it but I think it is what you are looking for: a 
  windrose  module for python.
  
  JDH
 
  --
  John Henry
 
 
 
  
 --
  ---
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Matplotlib-users mailing list
  Matplotlib-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/matplotlib-users
 
 -- 
 Lionel Roubeyrie - [EMAIL PROTECTED]
 Chagé d'études et de maintenance
 LIMAIR - la Surveillance de l'Air en Limousin 
 http://www.limair.asso.fr
 
 
--
John Henry



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] caxis in matplotlib / basemap

2007-05-09 Thread Sebastian Krieger
Hi everybody!

I've just started using Python and matplotlib  basemap in order to 
continue using Matlab. I want to make some sea surface height anomaly 
plots and could find out how to define the color limits equivalent to 
caxis in Matlab. Can anyone help me?

Thanks
Sebastian

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] problem with saving eps and ps with GTKAgg backend (and current head of SVN)

2007-05-09 Thread Johann Cohen-Tanugi
hello,
I am creating a big drawing ( figure(figsize=(16,20)) ), and when I 
try to save it in eps/ps form, it mishandle the overall size and only 
save a portion of the drawing. Saving in png or jpg works fine though.
Any idea?

Thanks,
Johann

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users