%%\section{Syntaxe}
%
%\subsection{Quadrillage avec psgrid}
\SbSSCT{Quadrillage avec psgrid}{Grids}
%\BS{psgrid}(x0,y0)(x1,y1)(x2,y2)

\psset{unit=1cm,linewidth=1pt}

\BSS{psgrid}\rnode{AA}{(2,1)}\rnode{BB}{(0,0)}\rnode{CC}{(4,3)}

\begin{center}
\begin{pspicture}(-.5,-.5)(4.5,3.5)
\psgrid(2,1)(0,0)(4,3)
\dotnode[dotstyle=*](2,1){A}
\dotnode[dotstyle=*](0,0){B}
\dotnode[dotstyle=*](4,3){C}
\ncarc{->}{AA}{A}
\ncbar[angle=-90]{->}{BB}{B}
\ncline{->}{CC}{C}
\end{pspicture}
\end{center}


\begin{tabular}{|c|c|c|c|c|}  \hline
\multicolumn{5}{|c|}{  \TFRGB{Quadrillage principal}{Main grid}} \\ \hline
\begin{pspicture}(-.5,-.5)(2.5,2.5)
\psgrid[gridwidth=2pt](2,2)
\end{pspicture}
&
\begin{pspicture}(-.5,-.5)(2.5,2.5)
\psgrid[griddots=3](2,2)
\end{pspicture}
&
\begin{pspicture}(-.5,-.5)(2.5,2.5)
\psgrid[gridcolor=red](2,2)
\end{pspicture}
&
\begin{pspicture}(-.5,-.5)(2.5,2.5)
\psgrid[gridlabels=5pt](2,2)
\end{pspicture}
&
\begin{pspicture}(-.5,-.5)(2.5,2.5)
\psgrid[gridlabelcolor=red](2,2)
\end{pspicture}



\\ \hline
\RDD{gridwidth}= 2pt & \RDD{griddots}=3 & \RDD{gridcolor}=red & \RDD{gridlabels}=5pt & \RDD{gridlabelcolor}=red  \\ \hline
{\blue \dft{} : .8pt } & {\blue \dft{} : 0}  & {\blue \dft{} : black} & {\blue \dft{}: 10pt} & {\blue \dft{} : black}\\ \hline
\end{tabular}


\TFRGB{Exemple}{Example} : 


\begin{tabular}{|c|} \hline  
\begin{pspicture}(-.5,-.5)(6.5,2.5)
\psgrid[gridwidth=4pt,gridcolor=red,griddots=3,gridlabelcolor=blue,gridlabels=15pt](6,2)
\end{pspicture}
\\ \hline  
\BS{psgrid}[{\red gridwidth=4pt,gridcolor=red,griddots=3,gridlabelcolor=blue,gridlabels=15pt}](6,2)
\\ \hline 
\end{tabular} 

\smallskip

\begin{tabular}{|l|l|l|l|}  \hline
\multicolumn{4}{|c|}{ \TFRGB{Quadrillage secondaire}{secondary grid}} \\ \hline
\begin{pspicture}(-.5,-.5)(2.5,2.5)
\psgrid[subgriddiv=3](2,2)
\end{pspicture}
&
\begin{pspicture}(-.5,-.5)(2.5,2.5)
\psgrid[subgridwidth=1pt](2,2)
\end{pspicture}
&
\begin{pspicture}(-.5,-.5)(2.5,2.5)
\psgrid[subgridcolor=red](2,2)
\end{pspicture}
&
\begin{pspicture}(-.5,-.5)(2.5,2.5)
\psgrid[subgriddots=3](2,2)
\end{pspicture}\\ \hline
\RDD{subgriddiv}=3 & \RDD{subgridwidth}=1pt & \RDD{subgridcolor}=red & \RDD{subgriddots}=3 \\ \hline
{\blue  \dft{} : 5 }& {\blue  \dft{} : .4pt } & {\blue \dft{} : gray} & {\blue \dft{}: 0 }\\ \hline

\end{tabular}


\smallskip
\begin{tabular}{|c|} \hline  
\begin{pspicture}(-.5,-.5)(6.5,2.5)
\psgrid[subgriddiv=2,subgridwidth=2pt,subgridcolor=red,subgriddots=4](6,2)
\end{pspicture}
\\ \hline  
\BS{psgrid}[{\red subgriddiv=2,subgridwidth=1pt,subgridcolor=red,subgriddots=3}](6,3)
\\ \hline 
\end{tabular} 




.
