[pstricks] axesboxed with surfaceparametree in solides3d
Zbigniew Nitecki
zbigniew.nitecki at tufts.edu
Fri Aug 20 15:14:22 CEST 2010
Thanks for the explanations.
However, when I tried to modify your code to fit my function
*********************************************************************
% !TEX TS-program = latex
\documentclass{article}
\usepackage{pst-solides3d}
\pagestyle{empty}
\begin{document}
\psset{unit=0.5,viewpoint=50 60 30 rtp2xyz,Decran=50}
\psset{lightsrc=viewpoint}
\begin{pspicture}(-4,-5)(6,8)
\psSurface*[ngrid=.3 .3,incolor=yellow,linewidth=0.5\pslinewidth,
r = 2,
axesboxed,
Zmin=0,Zmax=4](-1,-2)(1,2){
4 x dup mul mul y dup mul add}
\end{pspicture}
\end{document}
*************************************************************************
I got
> 5805-1282309844/exa026.pdf
> (Error : mauvais type d argument dans solidwithinfaces)
and a blank output.
Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155
telephones:
Office (617)627-3843
Dept. (617)627-3234
Dept. fax (617)627-3966
http://www.tufts.edu/~znitecki/
On Aug 20, 2010, at 3:03, Herbert Voss wrote:
> Am 19.08.2010 22:55, schrieb Zbigniew Nitecki:
>> Yes, the picture is along the right lines.
>>
>> I understand some of the code, but not all of it.
>> The starred version of \psSurface does not appear in the pst-solides3d documentation;
>> I don't see the role of r=3 sqrt 2 mul
>> and what does the last part of the function definition
>> -5 It{pop -5} if
>> mean or do?
>
> instead of using base=<xmin xmax ymin ymax> one can specify the
> radius of the base: r²=x²+y²
>
> -5 lt {pop -5} if
> on the stack is the z value. Is it less than -5 delete it (pop)
> and replace it with -5.
>
> use \psSurface to see the differenve to the star version \psSurface*
>
> Herbert
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20100820/543a08b2/attachment.html>
More information about the PSTricks
mailing list