| 1 |
%%\section{Syntaxe} |
| 2 |
% |
| 3 |
%\subsection{Quadrillage avec psgrid} |
| 4 |
\SbSSCT{Quadrillage avec psgrid}{Grids} |
| 5 |
%\BS{psgrid}(x0,y0)(x1,y1)(x2,y2) |
| 6 |
|
| 7 |
\psset{unit=1cm,linewidth=1pt} |
| 8 |
|
| 9 |
\BSS{psgrid}\rnode{AA}{(2,1)}\rnode{BB}{(0,0)}\rnode{CC}{(4,3)} |
| 10 |
|
| 11 |
\begin{center} |
| 12 |
\begin{pspicture}(-.5,-.5)(4.5,3.5) |
| 13 |
\psgrid(2,1)(0,0)(4,3) |
| 14 |
\dotnode[dotstyle=*](2,1){A} |
| 15 |
\dotnode[dotstyle=*](0,0){B} |
| 16 |
\dotnode[dotstyle=*](4,3){C} |
| 17 |
\ncarc{->}{AA}{A} |
| 18 |
\ncbar[angle=-90]{->}{BB}{B} |
| 19 |
\ncline{->}{CC}{C} |
| 20 |
\end{pspicture} |
| 21 |
\end{center} |
| 22 |
|
| 23 |
|
| 24 |
\begin{tabular}{|c|c|c|c|c|} \hline |
| 25 |
\multicolumn{5}{|c|}{ \TFRGB{Quadrillage principal}{Main grid}} \\ \hline |
| 26 |
\begin{pspicture}(-.5,-.5)(2.5,2.5) |
| 27 |
\psgrid[gridwidth=2pt](2,2) |
| 28 |
\end{pspicture} |
| 29 |
& |
| 30 |
\begin{pspicture}(-.5,-.5)(2.5,2.5) |
| 31 |
\psgrid[griddots=3](2,2) |
| 32 |
\end{pspicture} |
| 33 |
& |
| 34 |
\begin{pspicture}(-.5,-.5)(2.5,2.5) |
| 35 |
\psgrid[gridcolor=red](2,2) |
| 36 |
\end{pspicture} |
| 37 |
& |
| 38 |
\begin{pspicture}(-.5,-.5)(2.5,2.5) |
| 39 |
\psgrid[gridlabels=5pt](2,2) |
| 40 |
\end{pspicture} |
| 41 |
& |
| 42 |
\begin{pspicture}(-.5,-.5)(2.5,2.5) |
| 43 |
\psgrid[gridlabelcolor=red](2,2) |
| 44 |
\end{pspicture} |
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
\\ \hline |
| 49 |
\RDD{gridwidth}= 2pt & \RDD{griddots}=3 & \RDD{gridcolor}=red & \RDD{gridlabels}=5pt & \RDD{gridlabelcolor}=red \\ \hline |
| 50 |
{\blue \dft{} : .8pt } & {\blue \dft{} : 0} & {\blue \dft{} : black} & {\blue \dft{}: 10pt} & {\blue \dft{} : black}\\ \hline |
| 51 |
\end{tabular} |
| 52 |
|
| 53 |
|
| 54 |
\TFRGB{Exemple}{Example} : |
| 55 |
|
| 56 |
|
| 57 |
\begin{tabular}{|c|} \hline |
| 58 |
\begin{pspicture}(-.5,-.5)(6.5,2.5) |
| 59 |
\psgrid[gridwidth=4pt,gridcolor=red,griddots=3,gridlabelcolor=blue,gridlabels=15pt](6,2) |
| 60 |
\end{pspicture} |
| 61 |
\\ \hline |
| 62 |
\BS{psgrid}[{\red gridwidth=4pt,gridcolor=red,griddots=3,gridlabelcolor=blue,gridlabels=15pt}](6,2) |
| 63 |
\\ \hline |
| 64 |
\end{tabular} |
| 65 |
|
| 66 |
\smallskip |
| 67 |
|
| 68 |
\begin{tabular}{|l|l|l|l|} \hline |
| 69 |
\multicolumn{4}{|c|}{ \TFRGB{Quadrillage secondaire}{secondary grid}} \\ \hline |
| 70 |
\begin{pspicture}(-.5,-.5)(2.5,2.5) |
| 71 |
\psgrid[subgriddiv=3](2,2) |
| 72 |
\end{pspicture} |
| 73 |
& |
| 74 |
\begin{pspicture}(-.5,-.5)(2.5,2.5) |
| 75 |
\psgrid[subgridwidth=1pt](2,2) |
| 76 |
\end{pspicture} |
| 77 |
& |
| 78 |
\begin{pspicture}(-.5,-.5)(2.5,2.5) |
| 79 |
\psgrid[subgridcolor=red](2,2) |
| 80 |
\end{pspicture} |
| 81 |
& |
| 82 |
\begin{pspicture}(-.5,-.5)(2.5,2.5) |
| 83 |
\psgrid[subgriddots=3](2,2) |
| 84 |
\end{pspicture}\\ \hline |
| 85 |
\RDD{subgriddiv}=3 & \RDD{subgridwidth}=1pt & \RDD{subgridcolor}=red & \RDD{subgriddots}=3 \\ \hline |
| 86 |
{\blue \dft{} : 5 }& {\blue \dft{} : .4pt } & {\blue \dft{} : gray} & {\blue \dft{}: 0 }\\ \hline |
| 87 |
|
| 88 |
\end{tabular} |
| 89 |
|
| 90 |
|
| 91 |
\smallskip |
| 92 |
\begin{tabular}{|c|} \hline |
| 93 |
\begin{pspicture}(-.5,-.5)(6.5,2.5) |
| 94 |
\psgrid[subgriddiv=2,subgridwidth=2pt,subgridcolor=red,subgriddots=4](6,2) |
| 95 |
\end{pspicture} |
| 96 |
\\ \hline |
| 97 |
\BS{psgrid}[{\red subgriddiv=2,subgridwidth=1pt,subgridcolor=red,subgriddots=3}](6,3) |
| 98 |
\\ \hline |
| 99 |
\end{tabular} |
| 100 |
|
| 101 |
|
| 102 |
|