[pstricks] psgrid
Alain Matthes
alain.matthes at free.fr
Thu Nov 17 09:13:02 CET 2005
Howdy
with this
\psset{xunit =1 cm , yunit =1 cm}
\psset{gridlabels=0pt,gridwidth=0.8pt,subgridwidth=0.4pt}
\begin{pspicture}(0,0)(10,2)
\psgrid[subgriddiv=5]
\end{pspicture}
or that
\psset{xunit =10 cm , yunit =1 cm}
\psset{gridlabels=0pt,gridwidth=0.8pt,subgridwidth=0.4pt}
\begin{pspicture}(0,0)(1,2)
\psgrid[subgriddiv=5]
\end{pspicture}
i've no problem but with
\psset{xunit =12.5 cm , yunit =1 cm}
\psset{gridlabels=0pt,gridwidth=0.8pt,subgridwidth=0.4pt}
\begin{pspicture}(0,0)(0.8,2)
\psgrid[subgriddiv=5]
\end{pspicture}
The grid is too long for me and i think that' a normal way (minimum
1 unit ) but how to clip the grid to the pspicture ?
i can make my personnal grid but is it possible to use psgrid ?
thanks
Greetings
Alain Matthes
More information about the PSTricks
mailing list