% (gH) -_- graphesSORY.tex ; TimeStamp (unix) : 20 Novembre 2009 vers 14:08 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % DOCUMENT STANDARD % % % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass[12pt,a4paper]{article} %%%%%%%%%%%%%%%%%%%%%%% pour bien gérer les accents sais tels quels \usepackage[latin1]{inputenc} %%%%%%%%%%%%%%%%%%%%%%% s'il y a besoin d'insérer des graphiques \usepackage[dvips]{graphicx} %%%%%%%%%%%%%%%%%%%%%%% si on écrit de smaths avec leqslant \usepackage{amssymb} %%%%%%%%%%%%%%%%%%%%%%% pour inclure des fichiers texte via \verbatiminput{ f } %%%%%%%%%%%%%%%%%%%%%%% au lieu de \input f \usepackage{verbatim} \usepackage[french]{babel} \usepackage{setspace} %%%%%%%%%%%%%%%%%%%%%%% \usepackage{color} \usepackage{bbold} \usepackage{amssymb} \usepackage{latexsym} \usepackage{graphicx} \usepackage{multicol} \usepackage{pstricks} \usepackage{eurosym} \usepackage{geometry} \usepackage{fancyhdr} \usepackage{minitoc} \usepackage{pstricks,pst-node,pst-text,pst-3d,pst-tree} %%%%%%%%%%%%%%%%%%%%%%% j'aime bien avoir un point après le numéro de section \renewcommand{\thesection}{\arabic{section}. } \renewcommand{\thesubsection}{\arabic{section}.\arabic{subsection}} \newrgbcolor{royalblue}{0.25 0.41 0.88} %%%%%%%%%%%%%%%%%%%%%%% pour commenter facilement tout un block \newcommand{\cmt}[1]{} \parindent 2.0cm \parskip 0.5cm %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document} \setcounter{page}{9} \begin{figure} \begin{center} \vspace{10mm} \psset{arrows=->,mnode=circle} \psset{arrowscale=3} \begin{psmatrix} & &[name=E4,fillstyle=solid,fillcolor=orange]$E_4$ \\[0.5cm] [name=E1,fillstyle=solid,fillcolor=green]$E_1$ \\[0.5cm] & & & & [name=E3,fillstyle=solid,fillcolor=orange]$E_3$ \\[0.5cm] [name=E2,fillstyle=solid,fillcolor=green]$E_2$ \nccurve[angleA=120,angleB=180,ncurv=8,linestyle=dashed]{E2}{E2}\Bput{{\royalblue $P_{22}$}} \ncarc[linestyle=dashed]{E1}{E2}\Bput{\hspace{-2cm}{\royalblue $P_{12}$}} %\ncarc[linestyle=dashed]{E2}{E1}\Bput{~ ~ {\royalblue $P_{21}$}} \ncarc[linestyle=dashed]{E2}{E1} \ncarc[arcangle=15,linestyle=dashed]{E2}{E3}\Aput{{\royalblue $P_{23}$}} \ncarc[arcangle=15,linestyle=dashed]{E3}{E2}\Aput{{\royalblue $P_{32}$}} \ncline[linestyle=dashed]{E4}{E2} \\[0.5cm] & [name=E5,fillstyle=solid,fillcolor=red]$E_5$ & & [name=E6,fillstyle=solid,fillcolor=red]$E_6$ \nccurve[angleA=120,angleB=180,ncurv=8]{E1}{E1}\Bput{$P_{11}$} \ncarc[arcangle=15]{E1}{E3}\Aput{$P_{13}$} \ncarc[arcangle=15]{E3}{E1}\Aput{$P_{31}$} \ncline{E4}{E1}\Bput{$P_{41}=1$} \ncline{E1}{E5}\Bput{$P_{15}$} \ncline{E1}{E6} \ncline{E3}{E5}\Aput{$P_{35}$} \ncline{E3}{E4}\Aput{$P_{34}$} \ncline{E3}{E6}\Aput{$P_{36}$} \nccurve[angleA=60,angleB=120,ncurv=8]{E3}{E3}\Aput{$P_{33}$} \nccurve[angleA=-60,angleB=-120,ncurv=8]{E5}{E5}\Aput{$P_{55} = 1$} \nccurve[angleA=-60,angleB=-120,ncurv=8]{E6}{E6}\Aput{$P_{66}=1$} \ncline[linestyle=dashed]{E2}{E5} \ncline[linestyle=dashed]{E2}{E6} \\[0.5cm] \end{psmatrix} \vspace{15mm} ~ \textsf{FIG. 1} ~ ~ Vrai graphe avec les états $E_1$ et $E_2$ différenciés. \end{center} \end{figure} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \end{document}