[pstricks] Tracing angles between two lines defined by nodes

Christoph Bersch usenet at bersch.net
Thu Sep 4 12:36:08 CEST 2008

Agostino De Marco schrieb:
> if I have three nodes, say C, P1 and P2,
> I can think of two lines, departing from C,  "line 1" connecting C to P1,
> the other "line 2" connecting C to P2.
> My question is this:
> How can I draw an arc, centered in C, going from line 1 to line 2
> indicating the angle between them ?

You can use the pst-eucl package:


   \pstMarkAngle[arrows=->, MarkAngleRadius=1, linecolor=red]{P1}{C}{P2}{}

Instead of \pstGeonode you can of course also use \pnode to define the 


More information about the PSTricks mailing list