[pstricks] Connecting nodes with boxes

Arne Hallam ahallam at iastate.edu
Sun Mar 5 15:03:49 CET 2006


Are there any other shapes like boxes to to connect nodes such as ovals or 
circles?


At 01:27 AM 3/5/2006, Arne Hallam wrote:
>This works great.  Thanks.
>
>I was using the \ncarcbox because it was used in a number of the examples 
>on the website.
>
>
>
>At 12:38 AM 3/5/2006, Herbert Voss wrote:
>>Arne Hallam wrote:
>>>I am wanting to demonstrate how to construct submatrices and am doing 
>>>fine with horizontal boxes to show row inclusion but get a circle around 
>>>the first vertical node instead of a vertical box.
>>
>>why do you use \ncarcbox, when you need a rectangular box??
>>
>>Herbert
>>
>>
>>\documentclass{report}
>>\usepackage{pstricks,pst-plot}
>>\usepackage{pst-node}
>>\usepackage{amsmath}
>>\SpecialCoor
>>\begin{document}
>>
>>\begin{equation}
>>A(\{1,3\},\{1,3\})~=~\left(\raisebox{-3.0ex}{
>>\begin{psmatrix}[rowsep=3pt,colsep=10pt]
>>3 &4&7 \\
>>2&5& 2 \\
>>1&0&4
>>\end{psmatrix}} \right)
>>\psset{nodesep=.15,boxsize=.25,linestyle=dashed,linecolor=blue}
>>\ncbox[nodesep=.1,linecolor=green]{1,3}{3,3}
>>\ncbox{1,1}{1,3}
>>\ncbox{3,1}{3,3}
>>\end{equation}
>>
>>
>>\end{document}
>>
>>
>>_______________________________________________
>>pstricks mailing list
>>pstricks at tug.org
>>http://tug.org/mailman/listinfo/pstricks
>
>_______________________________________________
>pstricks mailing list
>pstricks at tug.org
>http://tug.org/mailman/listinfo/pstricks




More information about the PSTricks mailing list