[pstricks] psclip shifts grid
Carsten Vogel
texnicer at web.de
Fri Feb 18 16:50:55 CET 2011
Am 18.02.2011 16:04, schrieb Martin Chicoine:
> In the following example, the psgrid is shifted when clipped:
>
per cent might be your friend.
"%"
> \documentclass{article}
> \usepackage{pstricks-add}
> \begin{document}
> % grid is shifted when placed inside psclip
> \begin{psgraph}[arrows=->](0,0)(-2.75,-0.5)(2.5,3.6){5cm}{5cm}%
> \psclip{\psframe[linestyle=none](-2.75,-0.5)(2.5,3.6)}%
> \psgrid[xunit=1,yunit=1]%
> \psplot[algebraic]{-2.5}{2.5}{((.5-x)^2+(2-x^2)^2)^(.5)}%
> \endpsclip%
> \end{psgraph}%
> \end{document}
More information about the PSTricks
mailing list