summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tufte-latex/graphics
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-06-09 17:52:38 +0000
committerKarl Berry <karl@freefriends.org>2008-06-09 17:52:38 +0000
commit2f1c00601a68a6df215ab6087adb3e830d91a225 (patch)
treebad08d5e2c0c50ba7d757da0fc93a37dca03e1fc /Master/texmf-dist/doc/latex/tufte-latex/graphics
parent0f953f75cf3617fe1bd2cdeb5e14030d949e92b8 (diff)
new xelatex package fontwrap (8jun08)
git-svn-id: svn://tug.org/texlive/trunk@8619 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tufte-latex/graphics')
-rw-r--r--Master/texmf-dist/doc/latex/tufte-latex/graphics/helix.asy25
-rw-r--r--Master/texmf-dist/doc/latex/tufte-latex/graphics/helix.pdfbin0 -> 9436 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tufte-latex/graphics/hilberpgfcvs.tex.bak43
-rw-r--r--Master/texmf-dist/doc/latex/tufte-latex/graphics/hilbertcurves.pdfbin0 -> 29629 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tufte-latex/graphics/hilbertrecursive.tex72
-rw-r--r--Master/texmf-dist/doc/latex/tufte-latex/graphics/nasa_vision_sm.pngbin0 -> 47420 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tufte-latex/graphics/satir_graph.pngbin0 -> 9305 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tufte-latex/graphics/sine.asy16
-rw-r--r--Master/texmf-dist/doc/latex/tufte-latex/graphics/sine.pdfbin0 -> 6069 bytes
9 files changed, 156 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tufte-latex/graphics/helix.asy b/Master/texmf-dist/doc/latex/tufte-latex/graphics/helix.asy
new file mode 100644
index 00000000000..3d2ce8c9dc8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tufte-latex/graphics/helix.asy
@@ -0,0 +1,25 @@
+import graph3;
+
+size(0,200);
+
+usepackage("palatino");
+usepackage("mathpazo");
+
+currentprojection=orthographic(4,6,3);
+
+real x(real t) {return cos(2pi*t);}
+real y(real t) {return sin(2pi*t);}
+real z(real t) {return t;}
+
+defaultpen(overwrite(SuppressQuiet));
+
+path3 p=graph(x,y,z,0,2.7,operator ..);
+bbox3 b=autolimits(min(p),max(p));
+aspect(b,1,1,1);
+
+xaxis(rotate(X)*"$x$",all=true,b,red,RightTicks(rotate(X)*Label,2,2));
+yaxis(rotate(Y)*"$y$",all=true,b,red,RightTicks(rotate(Y)*Label,2,2));
+zaxis("$z$",all=true,b,red,RightTicks);
+
+draw(p,Arrow);
+
diff --git a/Master/texmf-dist/doc/latex/tufte-latex/graphics/helix.pdf b/Master/texmf-dist/doc/latex/tufte-latex/graphics/helix.pdf
new file mode 100644
index 00000000000..b0b9116a041
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tufte-latex/graphics/helix.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/tufte-latex/graphics/hilberpgfcvs.tex.bak b/Master/texmf-dist/doc/latex/tufte-latex/graphics/hilberpgfcvs.tex.bak
new file mode 100644
index 00000000000..3e781bd21e1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tufte-latex/graphics/hilberpgfcvs.tex.bak
@@ -0,0 +1,43 @@
+\title{Hilbert Curves}
+\author{}
+\date{}
+
+\documentclass{tufte-handout}
+
+\usepackage{tikz}
+
+\usepackage[active,tightpage]{preview}
+\PreviewEnvironment{tikzpicture}
+\usetikzlibrary{lindenmayersystems,positioning}
+
+\begin{document}
+
+\pgfdeclarelindenmayersystem{Hilbert curve}{
+ \symbol{X}{\pgflsystemdrawforward}
+ \symbol{+}{\pgflsystemturnright} % Explicitly define + and - symbols.
+ \symbol{-}{\pgflsystemturnleft}
+ \rule{A -> +BX-AXA-XB+}
+ \rule{B -> -AX+BXB+XA-}
+}
+
+\def\scalefac{0.6}
+% Draw a hilbert curve of order n
+% Usage:
+% \hilbertvurve[scale]{order}
+\newcommand\hilbertcurve[2][1]{
+\tikz \draw[scale=\scalefac*#1,rotate=90,lindenmayer system={Hilbert curve, axiom=A, order=#2,angle=90}]
+ lindenmayer system;
+}
+\maketitle
+
+\begin{figure}[h!]
+\begin{tikzpicture}[node distance=0cm,every path/.style={thin}]
+ \node[label={above:$n=1$}] (n1) {\hilbertcurve[18]{1}};
+ \node[label={above:$n=2$},right=of n1] (n2) {\hilbertcurve[6]{2}};
+ \node[label={above:$n=3$},right=of n2] (n3) {\hilbertcurve[2.6]{3}};
+ \node[label={above:$n=4$},right=of n3] (n4) {\hilbertcurve[1.2]{4}};
+ \node[label={above:$n=5$},right=of n4] (n5) {\hilbertcurve[0.58]{5}};
+\end{tikzpicture}
+\end{figure}
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/tufte-latex/graphics/hilbertcurves.pdf b/Master/texmf-dist/doc/latex/tufte-latex/graphics/hilbertcurves.pdf
new file mode 100644
index 00000000000..737c921bef2
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tufte-latex/graphics/hilbertcurves.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/tufte-latex/graphics/hilbertrecursive.tex b/Master/texmf-dist/doc/latex/tufte-latex/graphics/hilbertrecursive.tex
new file mode 100644
index 00000000000..dc30ec12893
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tufte-latex/graphics/hilbertrecursive.tex
@@ -0,0 +1,72 @@
+% Draw Hilbert curves.
+% Credits: Based on code by Marc van Dongen
+% See: http://www.fauskes.net/pgftikzexamples/hilbert-curve/
+\title{Hilbert Curves}
+\author{}
+\date{}
+
+\documentclass{tufte-handout}
+
+\usepackage{tikz}
+
+\usepackage[active,tightpage]{preview}
+\PreviewEnvironment{tikzpicture}
+\usetikzlibrary{positioning}
+
+\begin{document}
+
+\newdimen\HilbertLastX
+\newdimen\HilbertLastY
+\newcounter{HilbertOrder}
+
+\def\DrawToNext#1#2{%
+ \advance \HilbertLastX by #1
+ \advance \HilbertLastY by #2
+ \pgfpathlineto{\pgfqpoint{\HilbertLastX}{\HilbertLastY}}
+ % Alternative implementation using plot streams:
+ % \pgfplotstreampoint{\pgfqpoint{\HilbertLastX}{\HilbertLastY}}
+}
+
+% \Hilbert[right_x,right_y,left_x,left_x,up_x,up_y,down_x,down_y]
+\def\Hilbert[#1,#2,#3,#4,#5,#6,#7,#8] {
+ \ifnum\value{HilbertOrder} > 0%
+ \addtocounter{HilbertOrder}{-1}
+ \Hilbert[#5,#6,#7,#8,#1,#2,#3,#4]
+ \DrawToNext {#1} {#2}
+ \Hilbert[#1,#2,#3,#4,#5,#6,#7,#8]
+ \DrawToNext {#5} {#6}
+ \Hilbert[#1,#2,#3,#4,#5,#6,#7,#8]
+ \DrawToNext {#3} {#4}
+ \Hilbert[#7,#8,#5,#6,#3,#4,#1,#2]
+ \addtocounter{HilbertOrder}{1}
+ \fi
+}
+
+
+% \hilbert((x,y),order)
+\def\hilbert((#1,#2),#3){%
+ \advance \HilbertLastX by #1
+ \advance \HilbertLastY by #2
+ \pgfpathmoveto{\pgfqpoint{\HilbertLastX}{\HilbertLastY}}
+ % Alternative implementation using plot streams:
+ % \pgfplothandlerlineto
+ % \pgfplotstreamstart
+ % \pgfplotstreampoint{\pgfqpoint{\HilbertLastX}{\HilbertLastY}}
+ \setcounter{HilbertOrder}{#3}
+ \Hilbert[1mm,0mm,-1mm,0mm,0mm,1mm,0mm,-1mm]
+ \pgfusepath{stroke}%
+}
+
+\def\scalefac{1}
+\maketitle
+
+\begin{figure}[h!]
+\begin{tikzpicture}[node distance=0cm,every path/.style={thin}]
+ \node[label={above:$n=1$}] (n1) {\tikz[scale=\scalefac*18] \hilbert((0mm,0mm),1);};
+ \node[label={above:$n=2$},right=of n1] (n2) {\tikz[scale=\scalefac*6] \hilbert((0mm,0mm),2);};
+ \node[label={above:$n=3$},right=of n2] (n3) {\tikz[scale=\scalefac*2.6] \hilbert((0mm,0mm),3);};
+ \node[label={above:$n=4$},right=of n3] (n4) {\tikz[scale=\scalefac*1.2] \hilbert((0mm,0mm),4);};
+ \node[label={above:$n=5$},right=of n4] (n5) {\tikz[scale=\scalefac*0.58] \hilbert((0mm,0mm),5);};
+\end{tikzpicture}
+\end{figure}
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/tufte-latex/graphics/nasa_vision_sm.png b/Master/texmf-dist/doc/latex/tufte-latex/graphics/nasa_vision_sm.png
new file mode 100644
index 00000000000..2f1c324e679
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tufte-latex/graphics/nasa_vision_sm.png
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/tufte-latex/graphics/satir_graph.png b/Master/texmf-dist/doc/latex/tufte-latex/graphics/satir_graph.png
new file mode 100644
index 00000000000..d9509bc791d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tufte-latex/graphics/satir_graph.png
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/tufte-latex/graphics/sine.asy b/Master/texmf-dist/doc/latex/tufte-latex/graphics/sine.asy
new file mode 100644
index 00000000000..6904735a10f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tufte-latex/graphics/sine.asy
@@ -0,0 +1,16 @@
+import graph;
+
+usepackage("palatino");
+usepackage("mathpazo");
+
+size(7inches,3inches);
+scale(true);
+
+real f(real x) { return sin(x); }
+pair F(real x) { return (x, f(x)); }
+
+xaxis("$x$");
+yaxis("$y$");
+
+draw(graph(f,-10.,10,operator ..), red);
+
diff --git a/Master/texmf-dist/doc/latex/tufte-latex/graphics/sine.pdf b/Master/texmf-dist/doc/latex/tufte-latex/graphics/sine.pdf
new file mode 100644
index 00000000000..94331fabb79
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tufte-latex/graphics/sine.pdf
Binary files differ