# [pstricks] cnodes and boxes

Francisco A. S. Grossi fgrossi at usp.br
Thu Apr 20 14:45:43 CEST 2006

Thank you, your example was what I was looking for; it is impossible not to
be surprised everyday with all things one can do with pstricks. Thanks
again.

Francisco
----- Original Message -----
From: "Herbert Voss" <LaTeX at zedat.fu-berlin.de>
To: "Graphics with PSTricks" <pstricks at tug.org>
Sent: Thursday, April 20, 2006 7:24 AM
Subject: Re: [pstricks] cnodes and boxes

> Francisco A. S. Grossi wrote:
>> I have some nodes in a XY plane (showing a two-dimension sample space)
>> and would like to mark certain events. I was able to it with NCBOX when
>> all the relevant points are aligned. I would like to mark some points but
>> they would form a triangle; I could not find a way to do it unless I
>> specify the actual coordinates instead of refering to the cnodes names (I
>> used PSPOLYGON with the XY coordinates). Is there an easier way,
>> something like NCBOX?
>
> you can define nodes with four "sides":
> http://tug.org/PSTricks/main.cgi?file=Nodes/nodes#circle
>
> or (not easy to understand the meaning of the parameters)
>
> \documentclass{article}
> \usepackage{pst-node}
> \SpecialCoor
> \begin{document}
>
> \circlenode{a}{A}\hspace{5cm}\circlenode{b}{B}
>
> \vspace{3cm}
> \circlenode{c}{C}
> \pspolygon[linestyle=dashed,linearc=0.5]%
>   ([offset=1,Xnodesep=-1]a)([offset=-1.5,Ynodesep=-0.75]c)%
>   ([offset=0.5,Xnodesep=2]b)
>
> \end{document}
>
>
>
> Herbert
>
>
> _______________________________________________
> pstricks mailing list
> pstricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>