Debian Codegraph @

texmf-dist/doc/latex/bardiag/src/1a.tex

raw
1 %this is the way to redefine styles
2 % \newpsstyle{mytickstyle}{linewidth=1pt,linecolor=blue}
3
4 \renewcommand{\betweenticks}{200}
5 \bardiagrambegin{9.5}{1000}{2cm}{1}{2}{1cm}{0.01cm}
6 \drawlevellines
7 \baritem{Jelger}{721}{green}
8 \baritem{Johan}{412}{red}
9 \baritem{Rikkert}{810}{yellow}
10 \baritem{Henk}{310}{green}
11 \baritem{Erwin}{542}{red}
12 %
13 % we can call
14 % \diagLegendoptions{yellow}{red}{0.5pt}
15 % to produce a legend with yellow background with red frame
16 % with linewidth=0.5pt
17 %
18 \diagLegendbegin{5.63}{970.3}{5.0}
19 \diagLegenditem{Full year}{green}
20 \diagLegenditem{Less than a year}{red}
21 \diagLegenditem{Less than 6 months}{yellow}
22 \diagLegendend
23 \bardiagramend{}{\large Jobs Submitted}