summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstricks-examples-en/33-05-5.ltx
blob: 56aa077bbad699b92ee20388f321eb3454c42c64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
%% 
%%  A DANTE-Edition example
%% 
%%  Example 33-05-5 on page 733.
%% 
%%  Copyright (C) 2011 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{375.57637pt}
\setlength\parindent{0pt}
\def\TeX{T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX\@}

\usepackage{pst-plot,pst-light3d}

\begin{document}
\psset{xunit=8cm,yunit=2.5cm}
\begin{pspicture}(-0.05,-1)(1,1.2)
 \psaxes[Dx=0.2,Dy=0.4,dy=0.4]{->}(0,0)(0,-1)(1,1.2)
 \psset{plotpoints=500,LightThreeDXLength=0.3,LightThreeDYLength=-0.3}
 \PstLightThreeDGraphic[LightThreeDColorPsCommand=1.5 div 0.05 exch 0.8 sethsbcolor]{
    \psplot{0}{0.95}{x 10 mul 57.296 mul sin}}
 \PstLightThreeDGraphic{\psplot{0}{0.95}{x 40 mul 57.296 mul cos 2 div}}
\end{pspicture}
\end{document}