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

JPC casteleyn.jp at sfr.fr
Tue May 22 12:28:06 CEST 2012


Hello

Try this

\cnode(0,0){.2}{O}
\cnode(3;120){.2}{X} % theta = 60°
\cnode(10,0){.2}{B}
\pstCircleOA{O}{X}
\pstLineAB[linecolor=red,nodesep=-1]{O}{X}
\pstLineAB[linecolor=red,nodesep=-1]{O}{B}
\cnode([angle=-20,nodesep=10]X){.2}{C}  % theta/3 = 20°
\psline[linecolor=red,linestyle=dashed]{->}(X)([angle=-20,nodesep=10]X).
\pstInterLL[CodeFig=true,linecolor=blue,CodeFigColor=blue]{X}{C}{O}{B}{D}
\pstInterLC[CodeFig=true,linecolor=blue,CodeFigColor=blue]{X}{C}{O}{X}{E}{G}

JPC

Le 22/05/2012 10:03, Plamen Tanovski a écrit :
> Hi,
>
> I need to draw an one-third of an angle (\theta). Picture is here:
>
> http://home.arcor.de/tanovski/angle.eps
>
> 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.
>
> Any suggestions?
>
> best regards,
> P.
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
>


More information about the PSTricks mailing list