[pstricks] psgrid and psgraph
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Mon May 2 08:38:08 CEST 2011
Am 01.05.2011 21:57, schrieb Denis Bitouzé:
> Hello,
>
> in the following MCE, why the grid doesn't fill the (trimmed) psgraph
> area?
>
> \documentclass{article}
> \usepackage{pst-plot}
> \begin{document}
> \psset{llx=-5cm,lly=-1cm}
these parameters are designed for reserving the space for
the labels, too. -5cm is absolutely senseless. \psgrid takes
these values also into account. -> \pspicture(-5,-1)(3,9)
> \begin{psgraph}(0,0)(3.0,9.0){4cm}{5cm}
> \psgrid
> \end{psgraph}
> \end{document}
commenting out the setting of llx and lly does the trick.
%\psset{llx=-5cm,lly=-1cm}
However, if you want a grid then use the keywords
xticksize and yticksize.
Herbert
More information about the PSTricks
mailing list