Debian Codegraph @

texmf-dist/doc/latex/bardiag/src/6.tex

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