| 1 |
|
| 2 |
\psset{fillcolor=yellow,fillstyle=solid,linecolor=red,unit=1cm} |
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
\begin{tabular}{|c|c|}\hline |
| 8 |
\begin{pspicture}(-.5,-.5)(6,3) |
| 9 |
%\psframe[fillstyle=none](-.5,-.5)(6,3) |
| 10 |
\multirput(.5,0)(.5,.25){10}{A} |
| 11 |
\end{pspicture} |
| 12 |
& |
| 13 |
\begin{pspicture}(-.5,-.5)(6,3) |
| 14 |
%\psframe[fillstyle=none](-.5,-.5)(6,3) |
| 15 |
\multirput*(.5,0)(.5,.25){10}{A} |
| 16 |
\end{pspicture} |
| 17 |
\\ \hline |
| 18 |
\BSS{multirput}( \rnode{A}{0.5,0})( \rnode{B}{0.5,0.25})\AC{ \rnode{C}{10}}\AC{A} |
| 19 |
& |
| 20 |
\textbf{\BS{multirput}}{\red *}(0.5,0)(0.5,0.25)\AC{10}\AC{A} |
| 21 |
\\ \hline |
| 22 |
& \\ |
| 23 |
\rnode{AA}{\TFRGB{origine}{origin}} \hspace{1cm} \rnode{BB}{\TFRGB{décalage}{shift}} \hspace{1cm}\rnode{CC}{10 \TFRGB{fois}{times}} |
| 24 |
& |
| 25 |
\\ \hline |
| 26 |
\end{tabular} |
| 27 |
\ncline[linecolor=blue]{A}{AA} \ncline[linecolor=blue]{B}{BB} \ncline[linecolor=blue]{C}{CC} |
| 28 |
\bigskip |
| 29 |
|
| 30 |
|
| 31 |
\begin{tabular}{|c|c|}\hline |
| 32 |
\begin{pspicture}(-.5,-.5)(6,3) |
| 33 |
%\psframe[fillstyle=none](-.5,-.5)(6,3) |
| 34 |
\multirput{45}(.5,0)(.5,.25){10}{A} |
| 35 |
\end{pspicture} |
| 36 |
& |
| 37 |
\begin{pspicture}(-.5,-.5)(6,3) |
| 38 |
%\psframe[fillstyle=none](-.5,-.5)(6,3) |
| 39 |
\multirput*{45}(.5,0)(.5,.25){10}{A} |
| 40 |
\end{pspicture} |
| 41 |
\\ \hline |
| 42 |
\BSS{multirput}\AC{{\red 45}}(0.5,0)(0.5,0.25)\AC{10}\AC{A} |
| 43 |
& |
| 44 |
\textbf{\BS{multirput}}*\AC{{\red 45}}(0.5,0)(0.5,0.25)\AC{10}\AC{A} |
| 45 |
\\ \hline |
| 46 |
\end{tabular} |
| 47 |
|
| 48 |
|
| 49 |
\subsection[multips]{multips \cite{pst-user} } |
| 50 |
|
| 51 |
|
| 52 |
\begin{tabular}{|c|c|} |
| 53 |
\hline |
| 54 |
\begin{pspicture}(-.5,-.5)(6,3) |
| 55 |
%\psframe[fillstyle=none](-.5,-.5)(6,3) |
| 56 |
\multips(.5,0)(.5,.25){10}{\psframe(1,.5) } |
| 57 |
\end{pspicture} |
| 58 |
& |
| 59 |
\begin{pspicture}(-.5,-.5)(6,3) |
| 60 |
%\psframe[fillstyle=none](-.5,-.5)(6,3) |
| 61 |
\multips(.5,0)(.5;15){10}{\psframe(1,.5) } |
| 62 |
\end{pspicture} |
| 63 |
\\ \hline |
| 64 |
\BS{multips}(\rnode{A}{0.5,0})(\rnode{B}{0.5,0.25})\AC{\rnode{C}{10}}\AC{\BS{psframe}(1,.5) } |
| 65 |
& |
| 66 |
\BS{multips}(\rnode{D}{0.5;0})(\rnode{E}{0.5;15})\AC{10}\AC{\BS{psframe}(1,.5) } |
| 67 |
\\ \hline |
| 68 |
& \\ |
| 69 |
\rnode{AA}{\TFRGB{origine}{origin}} \hspace{1cm} \rnode{BB}{\TFRGB{décalage}{shift}} \hspace{1cm}\rnode{CC}{10 \TFRGB{fois}{times}} |
| 70 |
& \rnode{DD}{\TFRGB{coordonnées polaires}{polar coordinates}} |
| 71 |
\\ \hline |
| 72 |
\end{tabular} |
| 73 |
\ncline[linecolor=blue]{A}{AA} \ncline[linecolor=blue]{B}{BB} \ncline[linecolor=blue]{C}{CC} |
| 74 |
\ncline[linecolor=blue]{D}{DD} \ncline[linecolor=blue]{E}{DD} |
| 75 |
|
| 76 |
\bigskip |
| 77 |
\begin{tabular}{|c|c|} |
| 78 |
\hline |
| 79 |
\begin{pspicture}(-.5,-.5)(6,4) |
| 80 |
%\psframe[fillstyle=none](-.5,-.5)(6,4) |
| 81 |
\multips{45}(.5,0)(.5,.25){10}{\psframe(1,.5) } |
| 82 |
\end{pspicture} |
| 83 |
& |
| 84 |
\begin{pspicture}(-.5,-.5)(6,4) |
| 85 |
%\psframe[fillstyle=none](-.5,-.5)(6,4) |
| 86 |
\multips{45}(.5,0)(.5;15){10}{\psframe(1,.5)} |
| 87 |
\end{pspicture} |
| 88 |
\\ \hline |
| 89 |
\BS{multips}\AC{{\red 45}}(.5,0)(.5,.25)\AC{10}\AC{\BS{psframe}(1,.5)} |
| 90 |
& |
| 91 |
\BS{multips}\AC{{\red 45}}(.5;0)(.5;15)\AC{10}\AC{\BS{psframe}(1,.5)} |
| 92 |
\\ \hline |
| 93 |
\end{tabular} |
| 94 |
%====================================================================== |
| 95 |
|
| 96 |
\subsection[rmultiput]{rmultiput \cite{pstricks-add} } |
| 97 |
|
| 98 |
%Répétitions à pas variables |
| 99 |
|
| 100 |
\psset{fillcolor=yellow,fillstyle=solid,linecolor=red} |
| 101 |
|
| 102 |
|
| 103 |
%\TFRGB{syntaxe}{syntax} : |
| 104 |
|
| 105 |
% \BSS{rmultiput}*[Options] \AC{objet à répéter }(1° position)(2° position). . . (n position ) |
| 106 |
|
| 107 |
|
| 108 |
% |
| 109 |
%\vspace{1cm} |
| 110 |
%Exemple : |
| 111 |
|
| 112 |
\begin{tabular}{|c|c|} |
| 113 |
\hline |
| 114 |
\begin{pspicture}(-1,-2)(7,2) |
| 115 |
%\psframe[fillstyle=none](-1,-2)(7,2) |
| 116 |
\rmultiput{\DFR }(0,0)(2,1)(4,0)(6,-1) |
| 117 |
\end{pspicture} |
| 118 |
& |
| 119 |
\begin{pspicture}(-1,-2)(7,2) |
| 120 |
%\psframe[fillstyle=none](-1,-2)(7,2) |
| 121 |
\rmultiput*[rot=45] {\DFR }(0,0)(2,1)(4,0)(6,-1) |
| 122 |
\end{pspicture} |
| 123 |
\\ |
| 124 |
\hline |
| 125 |
\BSS{rmultiput}\AC{\BS{DFR}}(0,0)(2,1)(4,0)(6,-1) \BSI{rmultiput}{pstricks-add} & |
| 126 |
\BS{rmultiput}*[{\red rot=45}]\AC{\BS{DFR}}(0,0)(2,1)(4,0)(6,-1) \\ |
| 127 |
\hline |
| 128 |
\end{tabular} |
| 129 |
|
| 130 |
|