[pstricks] Re: Drawing graphs
Paulo J. Matos
pocmatos at gmail.com
Sat Mar 18 16:46:43 CET 2006
On 18/03/06, Paulo J. Matos <pocmatos at gmail.com> wrote:
> Hi all,
>
> Is there any higher-level environment in pstricks for drawing graphs
> like \pstree, or not? I have Latex Graphics Companion but defining
> graphs like the ones they have here requires me to define a position
> for each node which is not nice. Is there any other way?
>
After some search I found some basic commands which however do not
output a nice 'triangular' graph as I expected:
\begin{figure}[ht]
\centering{
\[
\circlenode{node1}{1}
\circlenode{node2}{2}
\circlenode{node3}{3}
\nccurve{node1}{node2}
\nccurve{node1}{node3}
\nccurve{node2}{node3}
\]
}
\end{figure}
Any ideas on the issue?
> Cheers,
> --
> Paulo Jorge Matos - pocm at sat inesc-id pt
> Web: http://sat.inesc-id.pt/~pocm
> Computer and Software Engineering
> INESC-ID - SAT Group
>
--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group
More information about the PSTricks
mailing list