summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/plain/pgfplots
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-06-15 17:56:37 +0000
committerKarl Berry <karl@freefriends.org>2008-06-15 17:56:37 +0000
commit3f126e90ac9efa15e72c8b415a2f25d3b19c509a (patch)
tree3fb6f3eebbf51978c31e8d6ff1180432e50b9935 /Master/texmf-dist/doc/plain/pgfplots
parent9667a29e9fef0ef89c9d7bd311e2d2a6aaccf50c (diff)
painful pgfplots update (14jun08)
git-svn-id: svn://tug.org/texlive/trunk@8751 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/plain/pgfplots')
-rw-r--r--Master/texmf-dist/doc/plain/pgfplots/pgfplotsexample.pdfbin0 -> 17957 bytes
-rw-r--r--Master/texmf-dist/doc/plain/pgfplots/pgfplotsexample.tex48
2 files changed, 48 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/plain/pgfplots/pgfplotsexample.pdf b/Master/texmf-dist/doc/plain/pgfplots/pgfplotsexample.pdf
new file mode 100644
index 00000000000..bce1e290e9b
--- /dev/null
+++ b/Master/texmf-dist/doc/plain/pgfplots/pgfplotsexample.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/plain/pgfplots/pgfplotsexample.tex b/Master/texmf-dist/doc/plain/pgfplots/pgfplotsexample.tex
new file mode 100644
index 00000000000..379cddce5ca
--- /dev/null
+++ b/Master/texmf-dist/doc/plain/pgfplots/pgfplotsexample.tex
@@ -0,0 +1,48 @@
+%% plain tex file
+
+\def\pgfsysdriver{pgfsys-pdftex.def}
+\input pgfplots.tex
+
+Using plain-\TeX.
+
+\tikzpicture
+ \loglogaxis
+ \addplot coordinates {
+ (1,1)
+ (16,16)
+ (32,64)
+ };
+ \endloglogaxis
+\endtikzpicture
+
+\tikzpicture
+ \loglogaxis[
+ xlabel=Cost,
+ ylabel=Error]
+ \addplot coordinates {
+ (5, 8.31160034e-02)
+ (17, 2.54685628e-02)
+ (49, 7.40715288e-03)
+ (129, 2.10192154e-03)
+ (321, 5.87352989e-04)
+ (769, 1.62269942e-04)
+ (1793, 4.44248889e-05)
+ (4097, 1.20714122e-05)
+ (9217, 3.26101452e-06)
+ };
+ \addplot coordinates {
+ (7, 8.47178381e-02)
+ (31, 3.04409349e-02)
+ (111, 1.02214539e-02)
+ (351, 3.30346265e-03)
+ (1023, 1.03886535e-03)
+ (2815, 3.19646457e-04)
+ (7423, 9.65789766e-05)
+ (18943, 2.87339125e-05)
+ (47103, 8.43749881e-06)
+ };
+ \legend{Case 1,Case 2}
+ \endloglogaxis
+\endtikzpicture
+
+\bye