Debian Codegraph @

texmf-dist/doc/latex/bardiag/src/2b.tex

raw
1 % The same kind of thing as fig 1, but with real numbers
2 %this is the way to redefine styles
3 \newpsstyle{tickstyle}{linewidth=1pt,linecolor=blue}
4 \renewcommand{\betweenticks}{0.2}
5 \renewcommand\placenumber{\overtop}
6 \bardiagrambegin{10.3}{1}{2cm}{2}{2}{1cm}{10cm}
7 \drawlevellines
8 \baritem{Jelger}{0.5}{green}
9 \baritem{Johan}{0.7}{red}
10 \baritem{Rikkert}{0.8}{yellow}
11 \baritem{Henk}{0.3}{green}
12 \baritem{Erwin}{0.5}{red}
13 %
14 % we can call
15 % \diagLegendoptions{yellow}{red}{0.5pt}
16 % to produce a legend with yellow background with red frame
17 % with linewidth=0.5pt
18 %
19 % \diagLegendbegin{6}{970}{5.0}
20 % \diagLegenditem{Full year}{green}
21 % \diagLegenditem{Less than a year}{red}
22 % \diagLegenditem{Less than 6 months}{yellow}
23 % \diagLegendend
24 \bardiagramend{}{\large Fraction of Jobs Active}