Debian Codegraph @

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

raw
1 \renewcommand{\tdx}{0.5} % depth of 3d
2 \renewcommand{\tdy}{30}
3
4 \def\onecol{red}
5 \def\twocol{green}
6 %-------------------------------------------------
7 %this is the way to redefine styles
8 % \newpsstyle{mytickstyle}{linewidth=1pt,linecolor=blue}
9 %
10 \newpsstyle{diagframestyle}{linewidth=1pt,linecolor=black,fillcolor=white}
11 \renewcommand\numbercolor{\black\bf}
12 \renewcommand{\betweenticks}{200}
13 \bardiagrambegin{15}{1000}{3cm}{1}{3}{1cm}{0.01cm}
14 \barspergroup{2}
15 \baritem{Jelger}{721}{\onecol}
16 \subbaritem{}{500}{\twocol}
17 \baritem{Johan}{412}{\onecol}
18 \subbaritem{}{500}{\twocol}
19 \baritem{Rikkert}{810}{\onecol}
20 \subbaritem{}{500}{\twocol}
21 \baritem{Henk}{310}{\onecol}
22 \subbaritem{}{500}{\twocol}
23 \baritem{New Guy}{0}{\onecol}
24 \subbaritem{}{542}{\twocol}
25 \drawlevellines
26 % Legend
27 %\diagLegendoptions{yellow}{yellow}{0.0pt}
28 %
29 \diagLegendbegin{10}{890}{3.5}
30 \diagLegenditem{19.12.2002}{\onecol}
31 \diagLegenditem{06.05.2003}{\twocol}
32 \diagLegendend
33 \bardiagramend{\large Cluster Users}{\large Jobs Submitted}