summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bardiag/src/2a.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-09 00:44:40 +0000
committerKarl Berry <karl@freefriends.org>2006-01-09 00:44:40 +0000
commitb4fc5f639874db951177ec539299d20908adb654 (patch)
tree52f08823ca58fffe3db6a9b075635038c567626c /Master/texmf-dist/doc/latex/bardiag/src/2a.tex
parentdec3d98ebe442d7ea93efbaa8dd2e2be8149a467 (diff)
doc 4
git-svn-id: svn://tug.org/texlive/trunk@80 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/bardiag/src/2a.tex')
-rw-r--r--Master/texmf-dist/doc/latex/bardiag/src/2a.tex23
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/bardiag/src/2a.tex b/Master/texmf-dist/doc/latex/bardiag/src/2a.tex
new file mode 100644
index 00000000000..f8279b05a85
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bardiag/src/2a.tex
@@ -0,0 +1,23 @@
+% The same kind of thing as fig 1, but with real numbers
+ %this is the way to redefine styles
+ % \newpsstyle{mytickstyle}{linewidth=1pt,linecolor=blue}
+ \renewcommand{\betweenticks}{10}
+ \bardiagrambegin{9.2}{45}{2cm}{1}{2}{1cm}{0.2cm}
+ \drawlevellines
+ \baritem{Jelger}{21.5}{green}
+ \baritem{Johan}{12.7}{red}
+ \baritem{Rikkert}{10}{yellow}
+ \baritem{Henk}{31}{green}
+ \baritem{Erwin}{42}{red}
+ %
+ % we call
+ \diagLegendoptions{verylightgray}{black}{0.5pt}
+ % to produce a legend with verylightgray background with black frame
+ % with linewidth=0.5pt
+ %
+ \diagLegendbegin{0.5}{42}{5.0}
+ \diagLegenditem{Full year}{green}
+ \diagLegenditem{Less than a year}{red}
+ \diagLegenditem{Less than 6 months}{yellow}
+ \diagLegendend
+ \bardiagramend{}{\large Activity (\%)} \ No newline at end of file