aboutsummaryrefslogtreecommitdiff
path: root/src/input/color.input.pamphlet
blob: 131467c51b6bf012c573e4fc99afe0f32a7af870 (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
\documentclass{article}
\usepackage{axiom}
\begin{document}
\title{\$SPAD/src/input color.input}
\author{The Axiom Team}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
\section{License}
<<license>>=
--Copyright The Numerical Algorithms Group Limited 1994.
@
<<*>>=
<<license>>
-- test input of Color domain
numberOfHues()
red()
blue()
green()
yellow()
b := hue blue()
red() + green()
hue red() + hue green()
red() + yellow()
red() + 3*yellow()
3*red() + yellow()
c := color 15
draw(x**2,x=-1..1,pointColor == green())
g := color 13
draw(x**2,x=-1..1,curveColor == g + 2*blue())


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