aboutsummaryrefslogtreecommitdiff
path: root/src/input/color.input.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/color.input.pamphlet')
-rw-r--r--src/input/color.input.pamphlet41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/input/color.input.pamphlet b/src/input/color.input.pamphlet
new file mode 100644
index 00000000..131467c5
--- /dev/null
+++ b/src/input/color.input.pamphlet
@@ -0,0 +1,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}