| 1 |
% The same kind of thing as fig 1, but with real numbers |
| 2 |
%this is the way to redefine styles |
| 3 |
% \newpsstyle{mytickstyle}{linewidth=1pt,linecolor=blue} |
| 4 |
\renewcommand{\betweenticks}{10} |
| 5 |
\bardiagrambegin{9.2}{45}{2cm}{1}{2}{1cm}{0.2cm} |
| 6 |
\drawlevellines |
| 7 |
\baritem{Jelger}{21.5}{green} |
| 8 |
\baritem{Johan}{12.7}{red} |
| 9 |
\baritem{Rikkert}{10}{yellow} |
| 10 |
\baritem{Henk}{31}{green} |
| 11 |
\baritem{Erwin}{42}{red} |
| 12 |
% |
| 13 |
% we call |
| 14 |
\diagLegendoptions{verylightgray}{black}{0.5pt} |
| 15 |
% to produce a legend with verylightgray background with black frame |
| 16 |
% with linewidth=0.5pt |
| 17 |
% |
| 18 |
\diagLegendbegin{0.5}{42}{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 Activity (\%)} |