Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Stange behavior of plot

In the following graphic, I woul like to understand why the line which is called after the the second circle is drawn before

from sage.plot.circle import Circle
c1= circle((1,1), 1, fill=true, color='blue', alpha=0.1)
c2= circle((1,1), .85, fill=true,  color='white', alpha=0.8)
center= circle((1,1), .0125, fill=true,  color='black')
p1= circle((0.2,1.5), .0125, fill=true,  color='red')
p2= circle((0.7,1.8), .0125, fill=true,  color='red')
p3= circle((1.7,1.6), .0125, fill=true,  color='red')
p4= circle((2,1), .0125, fill=true,  color='red')
l= line([(0,1), (1,1),(1,0)],linestyle="--")
c1+c2+center+p1+p2+p3+p4+l

Stange behavior of plot

In the following graphic, I woul like to understand why the line which is called after the the second circle is drawn before

from sage.plot.circle import Circle
c1= circle((1,1), 1, fill=true, color='blue', alpha=0.1)
c2= circle((1,1), .85, fill=true,  color='white', alpha=0.8)
center= circle((1,1), .0125, fill=true,  color='black')
p1= circle((0.2,1.5), .0125, fill=true,  color='red')
p2= circle((0.7,1.8), .0125, fill=true,  color='red')
p3= circle((1.7,1.6), .0125, fill=true,  color='red')
p4= circle((2,1), .0125, fill=true,  color='red')
l= line([(0,1), (1,1),(1,0)],linestyle="--")
c1+c2+center+p1+p2+p3+p4+l