blob: 6c78b76003f560f3d521e6f0019439ad2ca61aca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
\def\onecol{red}
\def\twocol{palegreen}
\renewcommand{\tdx}{0.5} % depth of 3d
\renewcommand{\tdy}{30}
\newcommand{\mybar}[3]
{ \renewcommand\numbercolor{\white\bf}
\baritem{#1}{#2}{#3}
}
\newcommand{\mysubbar}[3]
{ \renewcommand\numbercolor{\black\bf}
\subbaritem{#1}{#2}{#3}
}
%\renewcommand{\ActiveBarPrimitive}{\barTDRect}
%\renewcommand{\ActiveBarPrimitive}{\barCylinder}
%-------------------------------------------------------
%this is the way to redefine styles
% \newpsstyle{mytickstyle}{linewidth=1pt,linecolor=blue}
%
\renewcommand{\placenumber}{\belowtop}
\renewcommand{\betweenticks}{200}
%
\newpsstyle{diagframestyle}{linewidth=1pt,linecolor=black,fillcolor=white}
%
\bardiagrambegin{15}{1000}{3cm}{1}{3}{1cm}{0.007cm}
\barspergroup{2}
\mybar{Jelger}{721}{\onecol}
\mysubbar{}{500}{\twocol}
\mybar{Johan}{412}{\onecol}
\mysubbar{}{500}{\twocol}
\mybar{Rikkert}{810}{\onecol}
\mysubbar{}{500}{\twocol}
\mybar{Henk}{310}{\onecol}
\mysubbar{}{500}{\twocol}
\mybar{New Guy}{0}{\onecol}
\mysubbar{}{542}{\twocol}
\drawlevellines
% Legend
%\diagLegendoptions{yellow}{yellow}{0.0pt}
%
\diagLegendbegin{10}{890}{3.5}
\renewcommand{\legendShadow}{1} % by default there is no
% shadow in 2D diagram
\diagLegenditem{19.12.2002}{\onecol}
\diagLegenditem{06.05.2003}{\twocol}
\diagLegendend
\bardiagramend{\large Cluster Users}{\large Jobs Submitted}
|