During the development, I want the grid to be shown as the guidance in each pspicture.
At the final stage, some grids must be removed and the others are left intact.
I do as follows:
Code: Select all
\documentclass{article}
\usepackage{pstricks}
\def\tempgrid{\psgrid}
\begin{document}
%permanent grid
\begin{pspicture}(-2,-2)(2,2)
\psgrid
\pscircle*[fillcolor=red]{1}
\end{pspicture}
\vspace{1cm}
%temporary grid
\begin{pspicture}(-2,-2)(2,2)
\tempgrid
\pscircle*[fillcolor=red]{1}
\end{pspicture}
\end{document}
However, I want to know whether or not there exists a feature in PSTRICKS or LATEX to do that.
Thank you.
yoyo