diff options
Diffstat (limited to 'info/examples/PSTricks_en/23-07-8.ltx')
-rw-r--r-- | info/examples/PSTricks_en/23-07-8.ltx | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/info/examples/PSTricks_en/23-07-8.ltx b/info/examples/PSTricks_en/23-07-8.ltx new file mode 100644 index 0000000000..b91c4b3590 --- /dev/null +++ b/info/examples/PSTricks_en/23-07-8.ltx @@ -0,0 +1,33 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{225.70511pt} +\setlength\parindent{0pt} + +\usepackage{pst-solides3d} + +\begin{document} +\begin{pspicture}(-7,-7)(10,12) +\psset[pst-solides3d]{viewpoint=20 5 10,Decran=30,lightsrc=20 10 5} +\psSolid[object=grille,base=-2 2 -2 2,linecolor=white](0,0,-2) +\defFunction{cone}(u,v){u v Cos mul}{u v Sin mul}{u} +\psSolid[object=surfaceparametree,base=-2 2 0 2 pi mul, inhue=0.8 0.2,hue=0.8 0.2, + function=cone,linewidth=0.01,ngrid=25 40] +\gridIIID[Zmin=-2,Zmax=2](-2,2)(-2,2)[3,0.5,1] +\end{pspicture} +\end{document} |