Dear list,
How is it possible to draw a nice ellipse in a log-log plot using
patches.Ellipse ?
With matplotlib 0.91 I was able to to that using :
Ellipse((log10(100),log10(100)), width=100, height=100,alpha=0.5)
Now, it seems that something has changed in version 0.98 and I do not
need to ad the log10
in Ellipse. However, instead of having a nice ellipse, I get a kind of
patatoïd ?
See the example below.
How can I fix it ?
Thanks in advance,
yves
from numpy import *
import pylab as pt
from matplotlib.patches import Ellipse
ax = pt.gca()
e = Ellipse((100,100), width=100, height=100,alpha=0.5)
ax.add_artist(e)
pt.semilogx()
pt.semilogy()
pt.axis([1,1e3,1,1e3])
pt.show()
--
(o o)
--------------------------------------------oOO--(_)--OOo-------
Yves Revaz
Laboratory of Astrophysics EPFL
Observatoire de Sauverny Tel : ++ 41 22 379 24 28
51. Ch. des Maillettes Fax : ++ 41 22 379 22 05
1290 Sauverny e-mail : [EMAIL PROTECTED]
SWITZERLAND Web : http://www.lunix.ch/revaz/
----------------------------------------------------------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users