Debian Codegraph @

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

raw
1 %this is the way to redefine styles
2 % \newpsstyle{mytickstyle}{linewidth=1pt,linecolor=blue}
3 %
4 \renewcommand{\betweenticks}{100}
5 \renewcommand{\shownumbers}{0}
6 \newpsstyle{diagframestyle}{linewidth=1pt,linecolor=black,fillcolor=yellow}
7 \bardiagrambegin{15}{1000}{2cm}{1}{3}{1cm}{0.015cm}
8 \barspergroup{2}
9 \drawlevellines
10 \baritem{Jelger}{721}{\onecol}
11 \subbaritem{}{500}{\twocol}
12 \baritem{Johan}{412}{\onecol}
13 \subbaritem{}{500}{\twocol}
14 \baritem{Rikkert}{810}{\onecol}
15 \subbaritem{}{500}{\twocol}
16 \baritem{Henk}{310}{\onecol}
17 \subbaritem{}{500}{\twocol}
18 \baritem{New Guy}{0}{\onecol}
19 \subbaritem{}{542}{\twocol}
20 %
21 % we can call
22 \diagLegendoptions{yellow}{yellow}{0.0pt}
23 % to produce a legend with yellow background with yellow frame
24 %
25 \diagLegendbegin{10}{890}{3.5}
26 \diagLegenditem{19.12.2002}{\onecol}
27 \diagLegenditem{06.05.2003}{\twocol}
28 \diagLegendend
29 \bardiagramend{\large Cluster Users}{\large Jobs Submitted}