[pstricks] Solving equations with pstricks (draw one-thid of an angle)

Christoph Bersch usenet at bersch.net
Tue May 22 10:40:06 CEST 2012

On 22.05.2012 10:03, Plamen Tanovski wrote:
> I need to draw an one-third of an angle (\theta)
> To do so, I have to find the points E and D, so, that
> - E is on the circle OX
> - D is on the line BO
> - DE = OE = OX = r
> - X, E, D are on the same line
> I've looked at pst-eucl, but I can't see any way to find D and E.

Here is a suggestion, which needs some finetuning, but gives the 
requested points:

% alternative \pstGeonode(3.5;110){A}
   \pstGeonode(! 180 \mytheta sub dup cos 3.5 mul exch sin 3.5 mul){A}
   \nodexn{(X2)+(! \mytheta 3 div neg dup cos exch sin)}{X2'}


More information about the PSTricks mailing list