"Grafik mit PSTricks"/"Graphics with PSTricks"
Kapitel/Chapter 22
Abschnitt/Section 22.6 -- pst-solides3d
Begrenzung einer 3d-Funktion/Limit a 3d function
% !TEX lualatex
\DocumentMetadata{}
\documentclass[a5paper]{article}
\usepackage{geometry}
\usepackage{pst-solides3d}
\pagestyle{empty}
\begin{document}
\begin{pspicture}(-4,-5)(6,8)
\psset{lightsrc=viewpoint,viewpoint=50 60 30 rtp2xyz,Decran=60}
\psSurface[ngrid=.2 .2,incolor=yellow,linewidth=0.5\pslinewidth,
r = 2,fillcolor=cyan,
axesboxed,
Zmin=0,Zmax=4](-1,-2)(1,2){
4 x dup mul mul y dup mul add dup 4 gt {pop 4} if }
\end{pspicture}
\end{document}
Zurück zur Hauptseite/Back to main page
Copyright $Id: chapter22.html 68 2023-09-07 11:29:49Z voss $