diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pstricks-examples-en/14-04-15.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/pstricks-examples-en/14-04-15.ltx | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pstricks-examples-en/14-04-15.ltx b/Master/texmf-dist/doc/latex/pstricks-examples-en/14-04-15.ltx new file mode 100644 index 00000000000..3535d9da5ca --- /dev/null +++ b/Master/texmf-dist/doc/latex/pstricks-examples-en/14-04-15.ltx @@ -0,0 +1,46 @@ +%% +%% A DANTE-Edition example +%% +%% +%% Copyright (C) 2011 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[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} +\usepackage{filecontents} +\begin{filecontents*}{dataMul.dat} +[% file dataMul.dat +0 0 3.375 0.0625 10 5.375 7.1875 4.5 +20 7.1875 8.375 6.25 30 5.75 7.75 6.6875 +40 2.1875 5.75 5.9375 50 -1.9375 2.1875 4.3125 +60 -5.125 -1.8125 0.875 70 -6.4375 -5.3125 -2.6875 +80 -4.875 -7.1875 -4.875 90 0 -7.625 -5.625 +100 5.5 -6.3125 -5.8125 110 6.8125 -2.75 -4.75 +120 5.25 2.875 -0.75 +]% +\end{filecontents*} + +\usepackage{pst-plot} + +\begin{document} +\readdata\Data{dataMul.dat} \psset{xunit=0.1cm, yunit=0.3cm} +\begin{pspicture}(-6,-7.5)(125,10) + \psaxes[Dx=10,Dy=2.5,labelFontSize=\footnotesize, + mathLabel=false]{->}(0,0)(0,-7.5)(120,8.5) + \psset{linewidth=2pt} + \listplot[linecolor=green,plotNo=1,plotNoMax=3]{\Data} + \listplot[linecolor=red,plotNo=2,plotNoMax=3]{\Data} + \listplot[linecolor=blue,plotNo=3,plotNoMax=3]{\Data} +\end{pspicture} +\end{document} |