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 : Yves.Revaz@...2003...

SWITZERLAND Web : http://www.lunix.ch/revaz/

----------------------------------------------------------------