Debian Codegraph @

texmf-dist/doc/latex/visualpstricks/Source/com.tex

raw
1 \SbSSCT{Commenter un élément}{comments to a graphic}
2 \label{com}
3 \psset{fillstyle=none}
4
5 \begin{tabular}{|c|c|} \hline
6 \begin{psgraph}[axesstyle=none,xticksize=0 3cm,yticksize=0 4cm,subticks=0](0,0)(4,3){4cm}{3cm}
7 \psComment(1,2)(3,1){Texte}
8 \end{psgraph}
9 &
10 \begin{psgraph}[axesstyle=none,xticksize=0 3cm,yticksize=0 4cm,subticks=0](0,0)(4,3){4cm}{3cm}
11 \psComment{->}(1,2)(3,1){Texte}
12 \end{psgraph}
13 \\ \hline
14 \BSS{psComment}(1,2)(3,1)\AC{Texte} \BSI{psComment}{pstricks-add}&
15 \BSS{psComment}{\red \AC{->} }(1,2)(3,1)\AC{Texte}
16 \\ \hline
17 \end{tabular}
18
19 \bigskip
20
21 \begin{tabular}{|c|c|c|} \hline
22 \multicolumn{3}{|c|}{\BS{psComment}{\red[ref=r]} (1,2)(3,1)\AC{Texte} } \\ \hline
23 \begin{psgraph}[axesstyle=none,xticksize=0 3cm,yticksize=0 4cm,subticks=0](0,0)(4,3){4cm}{3cm}
24 \psComment[ref=r](1,2)(3,1){Texte}
25 \end{psgraph}
26 &
27 \begin{psgraph}[axesstyle=none,xticksize=0 3cm,yticksize=0 4cm,subticks=0](0,0)(4,3){4cm}{3cm}
28 \psComment*[ref=l](1,2)(3,1){Texte}
29 \end{psgraph}
30 &
31 \begin{psgraph}[axesstyle=none,xticksize=0 3cm,yticksize=0 4cm,subticks=0](0,0)(4,3){4cm}{3cm}
32 \psComment[ref=B](1,2)(3,1){Texte}
33 \end{psgraph}
34 \\ \hline
35 [ref=r] & [ref=l] & [ref=B] \\
36 \hline
37 \end{tabular}
38
39
40
41
42
43 \bigskip
44
45 \begin{tabular}{|c|c|c|} \hline
46 \multicolumn{3}{|c|}{\BS{psComment}[ref=r](1,2)(3,1)\AC{Texte}{\red [\BS{ncarc}]} } \\ \hline
47 \begin{psgraph}[axesstyle=none,xticksize=0 3cm,yticksize=0 4cm,subticks=0](0,0)(4,3){4cm}{3cm}
48 \psComment[ref=r](1,2)(3,1){Texte}[\ncarc]
49 \end{psgraph}
50 &
51 \begin{psgraph}[axesstyle=none,xticksize=0 3cm,yticksize=0 4cm,subticks=0](0,0)(4,3){4cm}{3cm}
52 \psComment*[ref=r](1,2)(3,1){Texte}[\ncdiagg]
53 \end{psgraph}
54 &
55 \begin{psgraph}[axesstyle=none,xticksize=0 3cm,yticksize=0 4cm,subticks=0](0,0)(4,3){4cm}{3cm}
56 \psComment[ref=r](1,2)(3,1){Texte}[\ncbar]
57 \end{psgraph}
58 \\ \hline
59 [\BS{ncarc}] & [\BS{ncdiagg}] & [\BS{ncbar}] \\
60 \hline
61 \end{tabular}
62
63 \bigskip
64 A voir : problème avec le deuxième paramètre final [\BS{ncput}]