summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstricks-examples-en/15-02-14.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/pstricks-examples-en/15-02-14.ltx')
-rw-r--r--Master/texmf-dist/doc/latex/pstricks-examples-en/15-02-14.ltx63
1 files changed, 63 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pstricks-examples-en/15-02-14.ltx b/Master/texmf-dist/doc/latex/pstricks-examples-en/15-02-14.ltx
new file mode 100644
index 00000000000..f1e4d7c13f9
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pstricks-examples-en/15-02-14.ltx
@@ -0,0 +1,63 @@
+%%
+%% A DANTE-Edition example
+%%
+%% Example 15-02-14 on page 202.
+%%
+%% 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}
+\def\barData{
+0 0.03
+1 0.11
+2 0.28
+3 0.84
+4 6.70
+5 8.55
+6 8.77
+7 11.09
+8 7.18
+9 6.20
+10 5.78
+11 4.19
+12 2.37
+13 2.26
+14 1.68
+15 1.03
+16 1.37
+17 1.34
+18 0.92
+19 0.67
+20 0.87
+21 1.20
+22 1.98
+23 3.99
+24 5.08
+25 5.17
+26 5.78
+27 4.44
+28 0.11
+}
+
+\usepackage{pst-plot}
+
+\begin{document}
+\psset{xunit=.4cm,yunit=.3cm}
+\begin{pspicture}(-2.25,-1.25)(29,12)
+ \psaxes[axesstyle=axes,Ox=1466,Oy=0,Dx=4,Dy=2,ylabelFactor={\,\%}]{-}(29,12)
+ \listplot[linecolor=blue,plotstyle=bar,barwidth=0.3cm,fillcolor=red,
+ fillstyle=crosshatch]{\barData} \rput{90}(-3,6.25){amount}
+\end{pspicture}
+\end{document}