| 1 |
\renewcommand{\betweenticks}{100} |
| 2 |
\renewcommand{\shownumbers}{0} |
| 3 |
|
| 4 |
\definecolor{gA}{gray}{0.5} |
| 5 |
\definecolor{gB}{gray}{0.7} |
| 6 |
\definecolor{gC}{gray}{0.9} |
| 7 |
|
| 8 |
|
| 9 |
\newpsstyle{diagframestyle}{linewidth=3pt,linecolor=black} |
| 10 |
|
| 11 |
\newpsstyle{stA}{linestyle=solid,hatchsep=6pt,fillstyle=vlines*} |
| 12 |
\newpsstyle{stB}{linestyle=solid,hatchsep=6pt,fillstyle=hlines*} |
| 13 |
\newpsstyle{stC}{linestyle=solid,hatchsep=6pt,fillstyle=crosshatch*} |
| 14 |
|
| 15 |
|
| 16 |
\bardiagrambegin{15.5}{1000}{2cm}{1}{4}{1cm}{0.015cm} |
| 17 |
\newpsstyle{levellinestyle}{linewidth=0.5pt,linecolor=gray,linestyle=dashed} |
| 18 |
\renewcommand{\barlabelangle}{0} |
| 19 |
|
| 20 |
\barspergroup{3} |
| 21 |
|
| 22 |
\drawlevellines |
| 23 |
\baritem[style=stA]{Here}{161}{gA} |
| 24 |
\subtopbaritem[style=stA]{}{250}{gB} |
| 25 |
\subtopbaritem[style=stA]{}{150}{gC} |
| 26 |
\subbaritem[style=stB]{}{381}{gA} |
| 27 |
\subtopbaritem[style=stB]{}{200}{gB} |
| 28 |
\subtopbaritem[style=stB]{}{150}{gC} |
| 29 |
\subbaritem[style=stC]{}{281}{gA} |
| 30 |
\subtopbaritem[style=stC]{}{200}{gB} |
| 31 |
\subtopbaritem[style=stC]{}{50}{gC} |
| 32 |
% |
| 33 |
\baritem[style=stA]{There}{221}{gA} |
| 34 |
\subtopbaritem[style=stA]{}{150}{gB} |
| 35 |
\subtopbaritem[style=stA]{}{130}{gC} |
| 36 |
\subbaritem[style=stB]{}{281}{gA} |
| 37 |
\subtopbaritem[style=stB]{}{300}{gB} |
| 38 |
\subtopbaritem[style=stB]{}{150}{gC} |
| 39 |
\subbaritem[style=stC]{}{121}{gA} |
| 40 |
\subtopbaritem[style=stC]{}{211}{gB} |
| 41 |
\subtopbaritem[style=stC]{}{350}{gC} |
| 42 |
% |
| 43 |
\baritem[style=stA]{Elsewhere}{432}{gA} |
| 44 |
\subtopbaritem[style=stA]{}{50}{gB} |
| 45 |
\subtopbaritem[style=stA]{}{230}{gC} |
| 46 |
\subbaritem[style=stB]{}{201}{gA} |
| 47 |
\subtopbaritem[style=stB]{}{130}{gB} |
| 48 |
\subtopbaritem[style=stB]{}{90}{gC} |
| 49 |
\subbaritem[style=stC]{}{191}{gA} |
| 50 |
\subtopbaritem[style=stC]{}{88}{gB} |
| 51 |
\subtopbaritem[style=stC]{}{222}{gC} |
| 52 |
% |
| 53 |
\baritem[style=stA]{on Mars}{232}{gA} |
| 54 |
\subtopbaritem[style=stA]{}{150}{gB} |
| 55 |
\subtopbaritem[style=stA]{}{330}{gC} |
| 56 |
\subbaritem[style=stB]{}{301}{gA} |
| 57 |
\subtopbaritem[style=stB]{}{230}{gB} |
| 58 |
\subtopbaritem[style=stB]{}{190}{gC} |
| 59 |
\subbaritem[style=stC]{}{91}{gA} |
| 60 |
\subtopbaritem[style=stC]{}{188}{gB} |
| 61 |
\subtopbaritem[style=stC]{}{322}{gC} |
| 62 |
|
| 63 |
% |
| 64 |
% we can call |
| 65 |
\diagLegendoptions{white}{white}{0pt} |
| 66 |
% to produce a legend without a frame |
| 67 |
% |
| 68 |
\diagLegendbegin{1}{980}{3.5} |
| 69 |
\diagLegenditem[style=stA]{19.12.2002}{white} |
| 70 |
\diagLegenditem[style=stB]{06.05.2003}{white} |
| 71 |
\diagLegenditem[style=stC]{01.02.2004}{white} |
| 72 |
\diagLegendend |
| 73 |
% |
| 74 |
\diagLegendbegin{5}{980}{3.5} |
| 75 |
\diagLegenditem{first try}{gA} |
| 76 |
\diagLegenditem{second try}{gB} |
| 77 |
\diagLegenditem{third try}{gC} |
| 78 |
\diagLegendend |
| 79 |
|
| 80 |
\bardiagramend{}{\large Number of smth} |