Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If you need a sector or wedge of a circle, then use for example

disk((0.0,0.0), 1, (pi/4, 3*pi/4), color='lightgrey', ymin=0)

For more general arcs:

pp=[(0,0)]+[(x,1/x+5) for x in srange(0.5,10,0.1)]+[(0,0)]
polygon(pp,color='lightgrey')