[pstricks] pstricks overlays

Richard Hensh hensh at math.msu.edu
Wed Mar 10 21:58:13 CET 2004


Hello,

I've been using pstricks for several years...with much success. Lately,
I've been using my own custom macros but with slight additions. I'm
wondering whether it is possible for the second psplot command (see below)
to appear as if it were part of the original graphic. I've tried using the
\translate macro but without much success.

\def\newGraph{%
\begin{pspicture}(\xmin,\ymin)(\xmax,\ymax)
    \psclip{\myframe(\xmin,\ymin)(\xmax,\ymax)}
        \psplot[linewidth=1.0pt]
            {\xmin}{\xmax}{x}
    \endpsclip
\end{pspicture}
}

\def\xmin{-6}\def\xmax{6}
\def\ymin{-6}\def\ymax{6}

\newGraph
\psplot[style=myPlotStyle]
	{\xmin}{\xmax}{x dup mul}


regards
rick hensh





More information about the PSTricks mailing list