Debian Codegraph @

texmf-dist/doc/latex/bardiag/example/src/7.tex

raw
1 \def\onecol{red}
2 \def\twocol{green}
3 \def\threecol{lightblue}
4
5 \renewcommand{\tdx}{0.5} % depth of 3d
6 \renewcommand{\tdy}{4}
7 %------------------------------------------------------------------
8 %this is the way to redefine styles
9 % \newpsstyle{mytickstyle}{linewidth=1pt,linecolor=blue}
10 %
11 \newpsstyle{diagframestyle}{linewidth=1pt,linecolor=black,fillcolor=white}
12 \bardiagrambegin{13}{100}{3cm}{2}{7}{1cm}{0.1cm}
13 \baritem{1990}{72}{\onecol}
14 \subbaritem{2000}{50}{\twocol}
15 \subbaritem{2010}{63}{\threecol}
16 \baritem{1990}{81}{\onecol}
17 \subbaritem{2000}{99}{\twocol}
18 \subbaritem{2010}{50}{\threecol}
19 % \baritemCYL{1990}{41}{\onecol}
20 % \subbaritemTD{2000}{30}{\twocol}
21 % \subbaritemTD{2010}{21}{\threecol}
22 %\drawlevellines
23 \bardiagramend
24 {\parbox{14cm}{\vspace{-1.5cm}\hspace{-0.7cm}
25 \begin{tabular}{p{7cm}p{6cm}}
26 \centering Alpha's & \centering Beta's
27 \end{tabular}
28 \\[0.6cm]
29 \centering \large Year}}
30 {\large Graduated (\%)}