[pstricks] pst-node psmatrix

Germain BOYER germain.boyer at ac-toulouse.fr
Tue Aug 20 15:41:45 CEST 2013


Bonjour,

In the second psmatrix is it possible to replace the line  ~ & 1 & & 3 \\ by something like  [mnode=something] ~ & 1 & & 3 \\ to don't have the circle before the arrow ?

In the of pst-node i read mnode=type parameter. Who are the type possible for mnode ?

\qquad \begin{psmatrix}
& & [mnode=circle] 5 \\
& & [mnode=circle,doubleline=true] 4 \\
~ & [mnode=circle] 1 & & [mnode=circle] 3 \\
& & [mnode=circle] 2
\end{psmatrix}
\psset{arrows=->,shortput=nab,arrowsize=0.15}
\nccircle[angleA=0]{3,2}{0.5cm}\nbput{$b$}
\ncline{2,3}{3,2}_{$b$}
\ncarc[arcangle=15]{3,2}{4,3}^{$a$}
\ncarc[arcangle=15]{4,3}{3,2}^{$b$}
\ncline{3,4}{3,2}\nbput{$b$}
\ncline{2,3}{1,3}^{$a$}
\ncline{3,4}{2,3}_{$a$}
\ncline{4,3}{3,4}_{$a$}
\nccircle[angleA=90]{1,3}{0.5cm}\nbput{$b$}
\nccircle[angleA=-90]{1,3}{0.5cm}\nbput{$a$}
{ \psset{doubleline=true} 
\ncline{3,1}{3,2}^{départ~}
}


\vspace*{2cm} 


\qquad \begin{psmatrix}[mnode=circle]
& & 5 \\
& & [doubleline=true] 4 \\
~ & 1 & & 3 \\
& & 2
\end{psmatrix}
\psset{arrows=->,shortput=nab,arrowsize=0.15}
\nccircle[angleA=0]{3,2}{0.5cm}\nbput{$b$}
\ncline{2,3}{3,2}_{$b$}
\ncarc[arcangle=15]{3,2}{4,3}^{$a$}
\ncarc[arcangle=15]{4,3}{3,2}^{$b$}
\ncline{3,4}{3,2}\nbput{$b$}
\ncline{2,3}{1,3}^{$a$}
\ncline{3,4}{2,3}_{$a$}
\ncline{4,3}{3,4}_{$a$}
\nccircle[angleA=90]{1,3}{0.5cm}\nbput{$b$}
\nccircle[angleA=-90]{1,3}{0.5cm}\nbput{$a$}
\psset{doubleline=true}
\ncline{3,1}{3,2}^{départ~}

Thanks for yours answers.

Germain 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20130820/7699f181/attachment.html>


More information about the PSTricks mailing list