SimplyDraw - Arcs
![](/images/db/6aa619076421bf9fed671bca0586596f3798113c.png)
This is a rather simple example that shows how to use arcs.
Perhaps the use of the atbegin()
function encourages you to take a look at the documentation of PyX. You might find many more interesting things.
set(scale=2) a = 35 stroke(circle(0, 0, 1), [linestyle.dashed]) b = path(arc(0, 0, 1, -a, a)) stroke(b, [linewidth.thick]) (x, y) = b.atbegin() stroke(line(x, -1, x, 1))