summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstricks-examples/36-00-111.ltx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-02-24 23:36:18 +0000
committerKarl Berry <karl@freefriends.org>2011-02-24 23:36:18 +0000
commit2a886fbce3b9f2ed32e02e952d4b300e6e3dd7b4 (patch)
tree1e795c05f0261278a6d0889ad79c977485ec6e5c /Master/texmf-dist/doc/latex/pstricks-examples/36-00-111.ltx
parent9b3b61b4613379d47f4dc1700f76efc1c1dbfced (diff)
new german doc pstricks examples (23feb11)
git-svn-id: svn://tug.org/texlive/trunk@21511 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/pstricks-examples/36-00-111.ltx')
-rw-r--r--Master/texmf-dist/doc/latex/pstricks-examples/36-00-111.ltx54
1 files changed, 54 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pstricks-examples/36-00-111.ltx b/Master/texmf-dist/doc/latex/pstricks-examples/36-00-111.ltx
new file mode 100644
index 00000000000..997ed66369d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pstricks-examples/36-00-111.ltx
@@ -0,0 +1,54 @@
+%%
+%% Ein Beispiel der DANTE-Edition
+%%
+%%
+%% Copyright (C) 2010 Herbert Voss
+%%
+%% It may be distributed and/or modified under the conditions
+%% of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%%
+%% See http://www.latex-project.org/lppl.txt for details.
+%%
+%%
+%% ====
+% Show page(s) 1
+%%
+\documentclass[]{exaarticle}
+\pagestyle{empty}
+\setlength\textwidth{352.81416pt}
+\setlength\parindent{0pt}
+\StartShownPreambleCommands
+\usepackage{pst-plot}
+\makeatletter
+\pst@def{ScalePoints}<% Rückgängig machen.
+ /y ED /x ED
+ counttomark dup dup cvi eq not { exch pop } if
+ /m exch def /n m 2 div cvi def
+ n { y mul m 1 roll x mul m 1 roll /m m 2 sub def } repeat>
+\makeatother
+ \def\Data{%
+ 0 0 20 0 40 0 % P0 P1 P2
+ 10 2 30 2.5 50 1.8 % P3 P4 P5
+ 30 4 48.5 3.7 70 4 % P6 P7 P8
+ 10 5.3 30 5 50 5.1 % P9 P10 P11
+}
+
+\StopShownPreambleCommands
+\begin{document}
+\psset{xunit=1mm, yunit=5mm}
+\begin{pspicture}(0,-1)(70,7.5)
+ \psaxes[Dx=10,Dy=2]{->}(0,0)(0,-0.5)(70,7.5)
+ \psset{linewidth=1pt}
+% horizontal
+ \listplot[nStart=0,nEnd=2]{\Data}
+ \listplot[linecolor=red,nStart=3,nEnd=5]{\Data}
+ \listplot[linecolor=blue,nStart=6,nEnd=8]{\Data}
+ \listplot[linecolor=green,nStart=9,nEnd=11]{\Data}
+% vertikal
+ \psset{nStep=3}
+ \listplot[nStart=0,nEnd=9]{\Data}
+ \listplot[linecolor=red,nStart=1,nEnd=10]{\Data}
+ \listplot[linecolor=blue,nStart=2,nEnd=11]{\Data}
+\end{pspicture}
+\end{document}