summaryrefslogtreecommitdiff
path: root/info/examples/PSTricks_7_de/14-03-14.ltx
blob: 6a766913b9add71d25ca7bc347d65bbc91f8c166 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
%% 
%%  Ein Beispiel der DANTE-Edition
%%  
%%  7. Auflage
%% 
%%  Beispiel 14-03-14 auf Seite 219.
%% 
%%  Copyright (C) 2016 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{193.16928pt}
\setlength\parindent{0pt}
%StartShownPreambleCommands
\usepackage{pst-plot}
%StopShownPreambleCommands
\begin{document}
\savedata{\data}[1 1  1 2  1 3  2 4  3 5  4 6  4 7  6 8  6 9  7 10  25 11  30 12  32 13]
\psset{llx=-1.5cm,lly=-1.5cm,xAxisLabel=\textbf{Frequency of Winning the Final},
  xAxisLabelPos={c,-1cm},yAxisLabel=,yLabels={,Kerry,Laois,London,Waterford,Clare,
  Offaly,Galway,Wexford,Dublin,Limerick,Tipperary,Cork,Kilkenny}}
\begin{psgraph}[axesstyle=frame,labels=x,ticks=x,
  ticksize=-4pt 0,Dx=5](0,0)(35,14){10cm}{7cm}
  \listplot[plotstyle=ybar,fillcolor=blue!20,linecolor=blue,barwidth=4mm,
    fillstyle=solid]{\data}
  \listplot[plotstyle=xvalues,labelsep=5pt]{\data}
\end{psgraph}
\end{document}