summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bardiag/src/9.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/9.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/9.tex')
-rw-r--r--Master/texmf-dist/doc/latex/bardiag/src/9.tex29
1 files changed, 29 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/bardiag/src/9.tex b/Master/texmf-dist/doc/latex/bardiag/src/9.tex
new file mode 100644
index 00000000000..4c3396bb12c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bardiag/src/9.tex
@@ -0,0 +1,29 @@
+%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
+ \renewcommand{\placenumber}{\overtop}
+ \newpsstyle{fillukr}{linestyle=solid,hatchsep=4pt,fillstyle=vlines*}
+ \newpsstyle{fillrus}{linestyle=solid,hatchsep=8pt,fillstyle=crosshatch*}
+ \newpsstyle{filloth}{linestyle=solid,hatchsep=8pt,fillstyle=hlines*}
+ \baritem[style=fillukr]{Kiev}{421}{gray}
+ \baritem[style=fillukr]{Odessa}{712}{lightgray}
+ \baritem[style=fillrus]{Moscow}{510}{gray}
+ \baritem[style=fillrus]{Bryansk}{310}{lightgray}
+ \baritem[style=filloth]{New-York}{542}{lightgray}
+ %
+ % we can call
+ % \diagLegendoptions{yellow}{red}{0.5pt}
+ % to produce a legend with yellow background with red frame
+ % with linewidth=0.5pt
+ %
+ \diagLegendbegin{5.6}{980}{4.5}
+ \diagLegenditem{during 6 months}{gray}
+ \diagLegenditem{during a year}{lightgray}
+ \diagLegenditem[style=fillukr]{Ukrainian cities}{white}
+ \diagLegenditem[style=fillrus]{Russian cities}{white}
+ \diagLegenditem[style=filloth]{other cities}{white}
+ \diagLegendend
+\bardiagramend{}{\large Stars Fallen}