2012-2013/1S/DM/DM_130520/fig/arbre.tex
2017-06-16 09:45:50 +03:00

47 lines
1.4 KiB
TeX

\psset{nodesep=3mm,levelsep=3cm,treesep=2mm}
\pstree[treemode=D]{\TC}{%
\pstree{\TR{$R$} \tlput{$R$}}{%
\pstree{\TR{$RD$} \tlput{$D$}}{%
\Tcircle{$RDA$} \tlput{$A$}
\Tcircle{\blue$RDD$} \tlput{$D$}
\Tcircle{\red$RDV$} \trput{$V$}
}
\pstree{\TR{$RV$} \trput{$V$}}{%
\TR{$RVA$} \tlput{$A$}
\Tcircle{$RVD$} \tlput{$D$}
\TR{\blue$RVV$} \trput{$V$}
}
}
\pstree{\TR{$D$} \tlput{$D$}}
{
\pstree{\TR{$DR$} \tlput{$R$}}
{
\Tcircle{$DRA$} \tlput{$A$}
\Tcircle{\blue$DRD$} \tlput{$D$}
\Tcircle{$DRV$} \trput{$V$}
}
\pstree{\TR{$DV$} \trput{$V$}}
{
\Tcircle{$DVA$} \tlput{$A$}
\Tcircle{\blue$DVD$} \tlput{$D$}
\Tcircle{\blue$DVV$} \trput{$V$}
}
}
\pstree{\TR{$V$} \tlput{$V$}}
{
\pstree{\TR{$VD$} \tlput{$D$}}
{
\Tcircle{$VDA$} \tlput{$A$}
\Tcircle{\blue$VDD$} \tlput{$D$}
\Tcircle{\blue$VDV$} \trput{$V$}
}
\pstree{\TR{$VR$} \trput{$R$}}
{
\TR{$VRA$} \tlput{$A$}
\Tcircle{$VRD$} \tlput{$D$}
\TR{\blue$VRV$} \trput{$V$}
}
}
}