2012-2013/2nd/DS/DS_130206/fig/arbre.tex

47 lines
1.4 KiB
TeX
Raw Normal View History

2017-06-16 06:45:50 +00:00
\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$}
}
}
}