From b4fc5f639874db951177ec539299d20908adb654 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 9 Jan 2006 00:44:40 +0000
Subject: doc 4

git-svn-id: svn://tug.org/texlive/trunk@80 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/doc/latex/bardiag/src/9.tex | 29 +++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 Master/texmf-dist/doc/latex/bardiag/src/9.tex

(limited to 'Master/texmf-dist/doc/latex/bardiag/src/9.tex')

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}
-- 
cgit v1.2.3

