[pstricks] psgrid
Herbert Voss
LaTeX at ZEDAT.FU-Berlin.DE
Thu Nov 17 10:49:52 CET 2005
Alain Matthes schrieb:
> 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 ?
\begin{pspicture}(0,0)(0.8,2)
\psgrid[xunit=1.25cm,subgriddiv=5](8,2)
\end{pspicture}
Herbert
More information about the PSTricks
mailing list