Re: [Matplotlib-users] code searching

2009-02-09 Thread Lionel Roubeyrie
Thanks John, it's what I need. Le vendredi 06 février 2009 à 13:10 -0600, John Hunter a écrit : On Fri, Feb 6, 2009 at 10:56 AM, Ryan May rma...@gmail.com wrote: Lionel Roubeyrie wrote: You're right, it's the chaco's zooming plot, I confused. Is there a way to have this render

Re: [Matplotlib-users] code searching

2009-02-06 Thread Lionel Roubeyrie
You're right, it's the chaco's zooming plot, I confused. Is there a way to have this render with matplotlib? Le jeudi 05 février 2009 à 10:41 -0600, Ryan May a écrit : Lionel Roubeyrie wrote: Hi all, On the matplotlib website I can't find an old example code showing a figure with two

[Matplotlib-users] code searching

2009-02-05 Thread Lionel Roubeyrie
it :) Thanks -- Lionel Roubeyrie chargé d'études LIMAIR - La Surveillance de l'Air en Limousin http://www.limair.asso.fr -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software

Re: [Matplotlib-users] contour coordinates

2009-02-02 Thread Lionel Roubeyrie
. http://p.sf.net/sfu/sf-spreadtheword ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Lionel Roubeyrie chargé d'études LIMAIR - La Surveillance de l'Air en

[Matplotlib-users] Pylab breaks locales with GTK

2009-01-05 Thread Lionel Roubeyrie
' '3,61' np.__version__, matplotlib.__version__ ('1.2.1', '0.98.3') # Any help welcomes! -- Lionel Roubeyrie chargé d'études LIMAIR - La Surveillance de l'Air en Limousin http://www.limair.asso.fr

Re: [Matplotlib-users] Pylab breaks locales with GTK

2009-01-05 Thread Lionel Roubeyrie
Thanks for your responses, Looking comments in the tickets, putting import locale locale.setlocale(locale.LC_NUMERIC, 'C') after the pylab import resolves the problem (but not the bug...). Have a happy new year Le lundi 05 janvier 2009 à 15:37 +0100, Lionel Roubeyrie a écrit : Hi all, Trying

[Matplotlib-users] windrose OO

2008-09-11 Thread Lionel Roubeyrie
is the entry on blogspot: http://youarealegend.blogspot.com/2008/09/windrose.html All suggestion welcome (even to correct my bad english ;-) ) Thanks to the best python plotting library and the matplotlib team! -- Lionel Roubeyrie

[Matplotlib-users] polar interpolation

2008-09-09 Thread Lionel Roubeyrie
. Looking in the documentation doesn't give an alternative. Is there a way to have just simples lines? thanks ## from pylab import * theta = arange(0, 360, 36) r = [5,1] * (len(theta)/2) polar(radians(theta), r, 'o-') show() ## -- Lionel Roubeyrie - [EMAIL PROTECTED

Re: [Matplotlib-users] windrose OO

2008-08-18 Thread Lionel Roubeyrie
/matplotlib/axes.py, line 771, in cla self.xaxis.cla() AttributeError: 'NoneType' object has no attribute 'cla' # I don't understand why this problem occurs, if someone can the mistake, I'll appreciate :-) Thanks Christopher Barker a écrit : Lionel Roubeyrie wrote

Re: [Matplotlib-users] Basemap to KML polygon

2008-07-23 Thread Lionel Roubeyrie
/lists/listinfo/matplotlib-users -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr - This SF.Net email is sponsored

Re: [Matplotlib-users] Basemap to KML polygon

2008-07-23 Thread Lionel Roubeyrie
thanks for this link Scott, I went into the refernce API directly without looking at this tutorial. Effectively, it works :-) Scott Sinclair a écrit : Lionel Roubeyrie [EMAIL PROTECTED] 07/23/08 9:37 AM I want to convert a filled contours map generated with Basemap (example here

[Matplotlib-users] Basemap to KML polygon

2008-07-22 Thread Lionel Roubeyrie
. Thanks -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr - This SF.Net email is sponsored by the Moblin Your Move Developer's

[Matplotlib-users] Basemap to KML polygon

2008-07-21 Thread Lionel Roubeyrie
Hi all, just to know if there's a proper way to convert a basemap generated with contourf to a KML (or polygon shapefile) ? Thanks -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr

Re: [Matplotlib-users] how to save animation

2008-07-01 Thread Lionel Roubeyrie
Hi, install mencoder :-) sa6113 a écrit : Unfortuantly this link dosen't help me. Would be please help me more clear. sa6113 wrote: Thanks for your help but there is a problem while I using this code, it raises an error : mencoder is not recognized as an internal or external command,

Re: [Matplotlib-users] Ubuntu Hardy and matplotlib

2008-06-17 Thread Lionel Roubeyrie
. Could you guys let me know which repositories you use and I could try and upgrade my ubuntu to one of new repositories lists? Thank -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr

Re: [Matplotlib-users] prctile not interpolating

2008-03-28 Thread Lionel Roubeyrie
___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en

[Matplotlib-users] windrose OO

2008-03-26 Thread Lionel Roubeyrie
is to closer to simple axe and polaraxe). There's also a extra argument 'blowto' which reverse the plot (used in pollutantrose), and scipy is not required (just numpy). Hope someone find it usefull Cordialy -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé d'études et de maintenance LIMAIR - la

Re: [Matplotlib-users] raster in basemap

2008-02-28 Thread Lionel Roubeyrie
Jeff, yes it works, the unique constraint is to put the image when we create the basemap instance. Le jeudi 28 février 2008, Jeff Whitaker a écrit : Lionel Roubeyrie wrote: Hi Jeff, yes I see this method, but set_xlim and set_ylim use axes coordinates, and I would like to use geographic

Re: [Matplotlib-users] raster in basemap

2008-02-27 Thread Lionel Roubeyrie
to be done after all the other plotting though, since all the Basemap methods (contour, imshow etc) will reset the axes limits to show the entire map region. -Jeff -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http

[Matplotlib-users] raster in basemap

2008-02-26 Thread Lionel Roubeyrie
of the map, and put contours on it. I see how to initialise Basemap with the limits of the raster, but not how to make a zoom in the map by specifing coordinates. Thanks for your help -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin

[Matplotlib-users] easy_install basemap

2008-02-06 Thread Lionel Roubeyrie
Hi all, don't sure it's the best way, but I have tried to install basemap via easy_install. the installation works fine (after a export GEOS_DIR), but it impossible to import it :-( Is there a special manipulation to get it working? Thanks -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé

[Matplotlib-users] twinx doesn't keep xticks parameters

2008-01-17 Thread Lionel Roubeyrie
Hi, all is in the subject: # ax=axes() setp(ax.get_xticklabels(), rotation=30, fontsize=14) twinx() It's not really a problem because we can manually modify the xticks, but it would be great if it was done automatically. Cheers -- Lionel Roubeyrie

Re: [Matplotlib-users] using strpdate2num in load

2007-12-18 Thread Lionel Roubeyrie
for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Lionel Roubeyrie

[Matplotlib-users] ps.usedistiller doesn't know ghostscript version

2007-12-03 Thread Lionel Roubeyrie
vtest matplotlib.__version__ Out [10]:'0.90.1' -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr - SF.Net

[Matplotlib-users] images layers

2007-10-04 Thread Lionel Roubeyrie
-- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files

Re: [Matplotlib-users] images layers

2007-10-04 Thread Lionel Roubeyrie
the image with axes.imshow. See http://matplotlib.sourceforge.net/screenshots/axes_demo.py for an example of how to use inset axes. -Jeff -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr

[Matplotlib-users] Geo raster

2007-09-20 Thread Lionel Roubeyrie
Hi all, Can't find any examples on google, then I come here to see if it's possible to display a georeferenced map (geotiff on my side) into Basemap. The PCL module seems great, but there's not useful information on the Trac website. Thanks -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé

Re: [Matplotlib-users] Geo raster

2007-09-20 Thread Lionel Roubeyrie
Hi Jeff, thanks for the reply. Effectively, I saw the warpimage example, and based on that I just want to know if somebody has already used the PCL module to retrieve geographical informations (or another module). Le jeudi 20 septembre 2007, Jeff Whitaker a écrit : Lionel Roubeyrie wrote: Hi

Re: [Matplotlib-users] table data type and plot functions?

2007-09-05 Thread Lionel Roubeyrie
Hi Ping, don't know if it could help you : from pylab import * d = Table(xyt.dat) x,y,t = load(xyt.dat, unpack=true) d.plot(x, t)# make a plot of x vs. t, N points are drawn plot(t, x) d.plot(x) # make a histogram plot of x, N entries in the histogram bar(range(len(x)), x)

[Matplotlib-users] ticklabels positions not updated

2007-08-01 Thread Lionel Roubeyrie
) Do I miss something? Thanks -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr - This SF.net email is sponsored by: Splunk Inc

[Matplotlib-users] savefig pdf doesn't work anymore

2007-07-18 Thread Lionel Roubeyrie
width = font.load_char(unicode, flags=LOAD_NO_SCALE).horiAdvance 507 return cvt(width) type 'exceptions.AttributeError': 'module' object has no attribute 'decoding_map' -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé d'études et de maintenance LIMAIR

Re: [Matplotlib-users] record array and date support

2007-06-08 Thread Lionel Roubeyrie
/ ___ 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

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

2007-05-10 Thread Lionel Roubeyrie
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 - This SF.net email

Re: [Matplotlib-users] grd file

2007-05-07 Thread Lionel Roubeyrie
Le Vendredi 20 Avril 2007 18:10, Jeff Whitaker a écrit : Lionel Roubeyrie wrote: By grd file, I mean csv like file, with one line by value, like X1 Y1 Z1 X2 Y1 Z2 X3 Y1 Z3 ... X1 Y2 Zk X2 Y2 Zk+1 ... Xi Yj Zn this is in geographic format

[Matplotlib-users] grd file

2007-04-20 Thread Lionel Roubeyrie
hi all, is there a way to plot (contourf) a .grd file from GMT directly with Basemap? I have a problem with contourf because I can't reshape to 2D the Z values ,x and y are in Lambert projection, so I can't compute the shape :-( thanks -- Lionel Roubeyrie - [EMAIL PROTECTED] Chagé d'études et

Re: [Matplotlib-users] grd file

2007-04-20 Thread Lionel Roubeyrie
is regular, but not in lambert projection, then I can't retrieve the dimensions of the grid. Le Vendredi 20 Avril 2007 14:54, Jeff Whitaker a écrit : Lionel Roubeyrie wrote: Hi Jeff, yes, lambert is not the problem, you're right. I have some .grd files with x,y,z values, and I want

Re: [Matplotlib-users] Basemap 3D

2007-04-13 Thread Lionel Roubeyrie
Hi Jeff, I want to display some pollutants concentrations saved in shapefiles on maps displayed in 3D. You can have a look of what I need here: http://rockware.com/catalog/pages/arcgis3dfeat1.html, in the last image. Le Jeudi 12 Avril 2007 16:40, Jeff Whitaker a écrit : Lionel Roubeyrie wrote

[Matplotlib-users] Basemap 3D

2007-04-12 Thread Lionel Roubeyrie
Hi all, not sure it's possible, I can't find any example but I ask : is there a way to make some 3D maps with Basemap, like we can do with ArcScene (ESRI), mixing rasters or shapefiles with TINs? If no, do you know a way to do so with python? Thanks -- Lionel Roubeyrie - [EMAIL PROTECTED

Re: [Matplotlib-users] PDF and accentued characters

2007-02-27 Thread Lionel Roubeyrie
. Seppänen a écrit : Lionel Roubeyrie [EMAIL PROTECTED] writes: Fonts are BitStream VeraSans-Roman, TrueType. Then this is not the usual font problem where fonts get converted either into Type 3 or into raw drawing commands. Can you put example files (both eps and pdf) on some website so we can try

[Matplotlib-users] PDF and accentued characters

2007-02-26 Thread Lionel Roubeyrie
Hi, sorry to resend this problem, I didn't have any response and the problem always exists, all accentued characters are set to ? when I save figures in pdf format. Does someone have a solution to that? MPL 0.87.7 on Edgy Eft thanks -- Lionel Roubeyrie - [EMAIL PROTECTED] LIMAIR http

Re: [Matplotlib-users] PDF and accentued characters

2007-02-26 Thread Lionel Roubeyrie
results for our publisher. -- Lionel Roubeyrie - [EMAIL PROTECTED] LIMAIR http://www.limair.asso.fr - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share

Re: [Matplotlib-users] PDF and accentued characters

2007-02-26 Thread Lionel Roubeyrie
Le Lundi 26 Février 2007 14:20, Darren Dale a écrit : What are you using to do the conversion? epstopdf should maintain the integrity of the fonts. epstopdf should maintain... but not, it doesn't do that! -- Lionel Roubeyrie - [EMAIL PROTECTED] LIMAIR http://www.limair.asso.fr

Re: [Matplotlib-users] PDF and accentued characters

2007-02-26 Thread Lionel Roubeyrie
? -- Lionel Roubeyrie - [EMAIL PROTECTED] Chagé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's

Re: [Matplotlib-users] PDF and accentued characters

2007-02-26 Thread Lionel Roubeyrie
Lionel, On 2/26/07, Lionel Roubeyrie [EMAIL PROTECTED] wrote: sorry to resend this problem, I didn't have any response and the problem always exists, all accentued characters are set to ? when I save figures in pdf format. Does someone have a solution to that? MPL 0.87.7 on Edgy Eft Can

Re: [Matplotlib-users] windrose 0.5

2007-02-01 Thread Lionel Roubeyrie
-- Lionel Roubeyrie - [EMAIL PROTECTED] LIMAIR http://www.limair.asso.fr - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier

[Matplotlib-users] accentued characters error, superscript error

2007-01-26 Thread Lionel Roubeyrie
Hi, using Agg, there's problems exporting plots in pdf format, all accentued characters are not displayed (like u'accentué'), but they are in svg files. In svg files, superscript characters are set to subscript (using TeX notation). Is there solutions to these problems? thanks -- Lionel

[Matplotlib-users] box and ticks

2007-01-23 Thread Lionel Roubeyrie
Hi, How can we remove only top and right lines of a plot, box(on=False) removes all. Same question for top and right ticks? thanks -- Lionel Roubeyrie - [EMAIL PROTECTED] LIMAIR http://www.limair.asso.fr - Take Surveys

[Matplotlib-users] bug on bar?

2007-01-16 Thread Lionel Roubeyrie
(years,maxis,align='center') gives the figure in the sc.png. But if we happend one data in years and in maxis, xticks are good! Is it a bug? PS:mpl version 0.87.7. -- Lionel Roubeyrie - [EMAIL PROTECTED] LIMAIR http://www.limair.asso.fr sc.png Description: PNG image

[Matplotlib-users] text in axis coords

2007-01-09 Thread Lionel Roubeyrie
at 0xb487fbec |~|[34]text( 1.0, 1.0, 'text2', transform=ax.transAxes, color='b' ) Out [34]:matplotlib.text.Text instance at 0xb488298c ## gives figure in the attached picture. Text2 must be out of figure, not here! An idea? thanks -- Lionel Roubeyrie - [EMAIL PROTECTED] LIMAIR http

Re: [Matplotlib-users] text in axis coords

2007-01-09 Thread Lionel Roubeyrie
Arg, sorry, stupid question, I didn't use valid limits. Le Mardi 09 Janvier 2007 12:32, Lionel Roubeyrie a écrit : Hi all, I need to set texts on figures in axis coords, not data coords. Following text doc, transform=ax.transAxes seems not working : ## |~|[32]ax=subplot

[Matplotlib-users] text against colorbar

2006-12-19 Thread Lionel Roubeyrie
Hi all, I don't find any doc on this point, then I post my question here: is it possible to set texts with a colorbar, like a legend? You can have a look of what I want here: http://www.limair.asso.fr/previsions2/index.php (just click OK) thanks -- Lionel Roubeyrie - [EMAIL PROTECTED] LIMAIR

Re: [Matplotlib-users] text against colorbar

2006-12-19 Thread Lionel Roubeyrie
Arg, I hoped that you would not say that :-) Le Mardi 19 Décembre 2006 16:39, Jeff Whitaker a écrit : Lionel Roubeyrie wrote: Hi all, I don't find any doc on this point, then I post my question here: is it possible to set texts with a colorbar, like a legend? You can have a look of what

Re: [Matplotlib-users] windrose 0.5

2006-10-26 Thread Lionel Roubeyrie
in 0.6. Le jeudi 26 octobre 2006 08:34, Derek Hohls a écrit : Lionel Is it possible to change the font sizes on the (a) direction labels (N, S, E, W) (b) % values labelling the rings? Thanks Derek -- Lionel Roubeyrie - [EMAIL PROTECTED] LIMAIR http://www.limair.asso.fr

Re: [Matplotlib-users] windrose 0.3

2006-10-13 Thread Lionel Roubeyrie
Le vendredi 13 octobre 2006 08:26, Derek a écrit : Lionel Roubeyrie [EMAIL PROTECTED] writes: Hi all, continuing on the windroses, here the third version of windrose.py, with two others styles (line and bar2 (is it what you want Derek?)). I want to know how it's possible to modify

Re: [Matplotlib-users] legend orientation

2006-09-26 Thread Lionel Roubeyrie
markers? -- Lionel Roubeyrie - [EMAIL PROTECTED] LIMAIR http://www.limair.asso.fr - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions

Re: [Matplotlib-users] legend orientation

2006-09-26 Thread Lionel Roubeyrie
have a line beside the text, just the space for it. If I use linestyle='o', the marked is drawn. -- Lionel Roubeyrie - [EMAIL PROTECTED] LIMAIR http://www.limair.asso.fr - Take Surveys. Earn Cash. Influence the Future

[Matplotlib-users] masked arrays on objects arrays doesn't plot

2006-09-20 Thread Lionel Roubeyrie
perfectly. Do I do something wrong? thanks -- Lionel Roubeyrie - [EMAIL PROTECTED] LIMAIR http://www.limair.asso.fr - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance

[Matplotlib-users] datestr2num problem

2006-09-19 Thread Lionel Roubeyrie
/02/2006, 03/01/2006], dtype='|S10') -- Lionel Roubeyrie - [EMAIL PROTECTED] LIMAIR http://www.limair.asso.fr - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll

Re: [Matplotlib-users] basemap plots

2006-07-18 Thread Lionel Roubeyrie
HI, how do you set the arrows on the bottom and the top of your colorbar? I don't find any option for that? Thanks Le Vendredi 07 Juillet 2006 10:11, [EMAIL PROTECTED] a écrit : On Friday 07 July 2006 4:11 pm, Lionel Roubeyrie wrote: Hi all, Is it possible to import colormap file from GMT

Re: [Matplotlib-users] basemap plots

2006-07-07 Thread Lionel Roubeyrie
Work very fine here, thanks for the links. Le Vendredi 07 Juillet 2006 10:11, [EMAIL PROTECTED] a écrit : On Friday 07 July 2006 4:11 pm, Lionel Roubeyrie wrote: Hi all, Is it possible to import colormap file from GMT (.cpt) to basemap? If yes how can we do that? Thanks It's possible

Re: [Matplotlib-users] basemap plots

2006-07-07 Thread Lionel Roubeyrie
Arg, sorry, I have found the response by myself, I just have to use figure.add_subplot to fix it. Le Vendredi 07 Juillet 2006 15:14, Lionel Roubeyrie a écrit : Hi Jeff, thanks for the hint, I just need to import one personal GMT file maked a time ago and used in a plotting project based