aboutsummaryrefslogtreecommitdiff
path: root/src/input/images6.input.pamphlet
blob: 6d362774533565a8bdf4e4f62401f7d71f45a477 (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
46
\documentclass{article}
\usepackage{axiom}
\begin{document}
\title{\$SPAD/src/input images6.input}
\author{The Axiom Team}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
\section{License}
<<license>>=
--Copyright The Numerical Algorithms Group Limited 1994.
@
<<*>>=
<<license>>
-- Color gallery page 6

-- 3-d surface whose height is the real part of the Gamma function,
-- and whose color is the argument of the Gamma function
gam(x,y) == 
  g := Gamma complex(x,y)
  point [x,y,max(min(real g, 4), -4), argument g]

draw(gam, -%pi..%pi, -%pi..%pi, title == "Gamma(x + %i*y)", 
     var1Steps == 100, var2Steps == 100)

-- The Beta function

b(x,y) == Beta(x,y)
draw(b, -3.1..3, -3.1 .. 3, title == "Beta(x,y)")

-- The complex arc tangent function
atf(x,y) == 
  a := atan complex(x,y)
  point [x,y,real a, argument a]

draw(atf, -3.0..%pi, -3.0..%pi)

@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}