summaryrefslogtreecommitdiff
path: root/info/examples/PSTricks_7_de/35-00-32.ltx
blob: cdbd158f0df6cf60e2100cf48e7f79a3d7679873 (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
36
37
38
39
40
41
42
43
44
45
%% 
%%  Ein Beispiel der DANTE-Edition
%%  
%%  7. Auflage
%% 
%%  Beispiel 35-00-32 auf Seite 831.
%% 
%%  Copyright (C) 2016 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[]{exaarticle}
\pagestyle{empty}
\setlength\textwidth{352.81416pt}
\setlength\parindent{0pt}
%StartShownPreambleCommands
\usepackage{pstricks-add}
%StopShownPreambleCommands
\begin{document}
\psset{yunit=0.5cm,algebraic,labelsep=5pt,
  linewidth=0.4pt,arrowsize=3pt 2,arrowinset=0.25}
\begin{pspicture}(-5.75,-5.75)(5.75,6.75)%
\psaxes[labelFontSize=\scriptstyle,Dy=2,ticksize=-2pt 0,
   subticks=0]{->}(0,0)(-5.5,-6)(4.5,6.5)%
\rput[lb](-5.5,-5.5){%
  \begin{pspicture*}(-5.5,-5.5)(5.75,6.2)
  \psplot[plotpoints=5000,yMaxValue=6,linewidth=1.5pt,
    linecolor=blue]{-5.5}{6}{GAMMA(x)}%
  \multido{\iA=-1+-1}{5}{\psline[linestyle=dashed](\iA,-6)(\iA,6)}%
  \psdots[dotsize=2pt 0,dotstyle=*](!1 1 GAMMA)\uput[90](!1 1 GAMMA){0!}
  \psdots[dotsize=2pt 0,dotstyle=*](!2 2 GAMMA)\uput[90](!2 2 GAMMA){1!}
  \psdots[dotsize=2pt 0,dotstyle=*](!3 3 GAMMA)\uput[110](!3 3 GAMMA){2!}
  \psdots[dotsize=2pt 0,dotstyle=*](!4 4 GAMMA)\uput[200](!4 4 GAMMA){3!}
  \end{pspicture*}}%
\end{pspicture}
\end{document}