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

Derek Collis iscah3141 at earthlink.net
Tue Apr 10 20:43:27 CEST 2007


Herbert, thanks so much,

Derek

Herbert Voss wrote:
> 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
> _______________________________________________
> pstricks mailing list
> pstricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>
>   



More information about the PSTricks mailing list