summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bardiag/figs/examp2er.tex
blob: 75456594d578042bbeb5f2a2858f751f0d06e2e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
\newcommand{\lecol}{gray}
\newcommand{\ricol}{lightgray}
\renewcommand{\betweenticks}{50}
\bardiagrambegin{12.5}{200}{1cm}{1}{2.5}{0.9cm}{0.05cm}
    \drawlevellines
    \barspergroup{2}
    \renewcommand{\barlabelangle}{0}
    \baritem{1998}{123}{\lecol} \barerror{25}
        \subbaritem{}{118}{\ricol} \barerrormargins{35}{15}
    \baritem{1999}{126}{\lecol} \barerror{20}
        \subbaritem{}{119}{\ricol} \barerrormargins{35}{32}
    \baritem{2000}{144}{\lecol} \barerror{24}
        \subbaritem{}{148}{\ricol} \barerror{30}
    \baritem{2001}{176}{\lecol} \barerror{22}
        \subbaritem{}{170}{\ricol} \barerror{25}
    \baritem{2002}{128}{\lecol} \barerror{20}
        \subbaritem{}{134}{\ricol}  \barerror{30} 
    \diagLegendbegin{1}{190}{3.2} 
      \diagLegenditem{Women}{\lecol}
      \diagLegenditem{Men}{\ricol}
    \diagLegendend
\bardiagramend{{\large Year}}{{\large Income}}