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 the legends to be on axes, and not on > > the figure like in the ex4.png subplots example. > > Lionel > > Looks great! Is it possible to change the size/position of the legend - > the fonts certainly seem too big, and the whole box overlaps the figure. > > Derek Hi Derek, yes it's possible, with: freq,ax=windrose.windplot(vent['VV'],vent['DV'],counts=False,speed_classes=[1,2,3,4,5],sectors=16,style='bar') draw() fig=ax.get_figure() for leg in fig.legends: setp(leg.get_texts(), fontsize=8)
> > > > > ------------------------------------------------------------------------- > 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 Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- 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 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users