diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/examples/PSTricks_en/14-02-14.ltx |
Initial commit
Diffstat (limited to 'info/examples/PSTricks_en/14-02-14.ltx')
-rw-r--r-- | info/examples/PSTricks_en/14-02-14.ltx | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/info/examples/PSTricks_en/14-02-14.ltx b/info/examples/PSTricks_en/14-02-14.ltx new file mode 100644 index 0000000000..84ef05a7c0 --- /dev/null +++ b/info/examples/PSTricks_en/14-02-14.ltx @@ -0,0 +1,63 @@ +%% +%% 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{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} |