[pstricks] pspicture* doesn't seem to work with pscustom

Herbert Voss LaTeX at zedat.fu-berlin.de
Tue Apr 10 14:59:15 CEST 2007


Derek Collis wrote:
> The pspicture* command doesn't seem to work if I have a pscustom 
> command, as in the following. How can I prevent the graphs going beyond 
> the pspicture defined region?
>
>
> \documentclass[11pt]{article}
> \usepackage{pstricks-add}
>
> \begin{document}
> \def\ftnA{x 2 exp 2 x mul sub}
> \def\ftnB{x}
> \begin{pspicture*}(-1,-1)(3,3) % doesn't restrict the graph between 
> (-1,-1)(3,3) as it does without the pscustom environment.
>   
\AltClipMode

>   \begin{psclip}
>     {
>     \pscustom[linestyle=none]
>       {\psplot{0}{3}{\ftnA}
>        \psplot{3}{0}{\ftnB}
>       }
>     }
>   

whenever you have clipping inside clipping

Herbert



More information about the PSTricks mailing list