summaryrefslogtreecommitdiff
path: root/info/examples/PSTricks_en/15-05-1.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'info/examples/PSTricks_en/15-05-1.ltx')
-rw-r--r--info/examples/PSTricks_en/15-05-1.ltx50
1 files changed, 50 insertions, 0 deletions
diff --git a/info/examples/PSTricks_en/15-05-1.ltx b/info/examples/PSTricks_en/15-05-1.ltx
new file mode 100644
index 0000000000..cfc279e599
--- /dev/null
+++ b/info/examples/PSTricks_en/15-05-1.ltx
@@ -0,0 +1,50 @@
+%%
+%% A DANTE-Edition example
+%%
+%% Example 15-05-1 on page 224.
+%%
+%% 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{201.70511pt}
+\setlength\parindent{0pt}
+
+\usepackage{pst-plot}
+
+\begin{document}
+\def\data{0.003472 -13.159 0.003332 -12.859 0.003246 -11.27}
+\pstScalePoints(1000,1){}{ abs }% absolute values
+\psset{xunit=30cm}
+\begin{pspicture}(3.2,11.1)(3.5,15)
+ \psaxes[dy=1cm,Dy=-1.0,Oy=-11.2,dx=3cm,Dx=0.0001,Ox=0.0032,
+ labelFontSize=\footnotesize,mathLabel=false]{->}(3.2,11.2)(3.5,14.0)
+ \listplot[showpoints,linewidth=1pt]{\data}
+\end{pspicture}\\[-5pt] %-------------------------------------------
+\begin{pspicture}(3.2,0)(3.5,1)
+ \psaxes[yAxis=false,dy=1cm,Dy=-1.0,Oy=-11.2,%
+ dx=1.5cm,Dx=0.00005,Ox=0.00320,
+ labelFontSize=\footnotesize,mathLabel=false]{->}(3.2,0)(3.5,1)
+\end{pspicture}\\ %-------------------------------------------
+\begin{pspicture}(3.2,-0.75)(3.5,1)
+ \psaxes[yAxis=false,dy=1cm,Dy=-1.0,Oy=-11.2,%
+ dx=3cm,Dx=0.1,Ox=3.2,xlabelFactor={\times 10^{-3}},
+ labelFontSize=\scriptstyle,mathLabel]{->}(3.2,0)(3.5,1)
+\end{pspicture}\\[-25pt] %-------------------------------------------
+\pstScalePoints(1000,1){}{}% absolute values
+\begin{pspicture}(3.2,-10)(3.5,-15)
+ \psaxes[dy=1cm,Dy=1.0,Oy=-11.2,dx=3cm,Dx=0.0001,Ox=0.0032,
+ labelFontSize=\footnotesize,mathLabel=false]{->}(3.2,-11.2)(3.5,-14.0)
+ \listplot[showpoints,linewidth=1pt]{\data}
+\end{pspicture}
+\end{document}