summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bardiag/example/src/1a.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/bardiag/example/src/1a.tex')
-rw-r--r--Master/texmf-dist/doc/latex/bardiag/example/src/1a.tex23
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/bardiag/example/src/1a.tex b/Master/texmf-dist/doc/latex/bardiag/example/src/1a.tex
new file mode 100644
index 00000000000..17a0464a57c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bardiag/example/src/1a.tex
@@ -0,0 +1,23 @@
+%this is the way to redefine styles
+% \newpsstyle{mytickstyle}{linewidth=1pt,linecolor=blue}
+
+\renewcommand{\betweenticks}{200}
+\bardiagrambegin{9.5}{1000}{2cm}{1}{2}{1cm}{0.01cm}
+ \drawlevellines
+ \baritem{Jelger}{721}{green}
+ \baritem{Johan}{412}{red}
+ \baritem{Rikkert}{810}{yellow}
+ \baritem{Henk}{310}{green}
+ \baritem{Erwin}{542}{red}
+ %
+ % we can call
+ % \diagLegendoptions{yellow}{red}{0.5pt}
+ % to produce a legend with yellow background with red frame
+ % with linewidth=0.5pt
+ %
+ \diagLegendbegin{5.63}{970.3}{5.0}
+ \diagLegenditem{Full year}{green}
+ \diagLegenditem{Less than a year}{red}
+ \diagLegenditem{Less than 6 months}{yellow}
+ \diagLegendend
+\bardiagramend{}{\large Jobs Submitted} \ No newline at end of file