summaryrefslogtreecommitdiff
path: root/support/fastpictex/doc/manual/xticlabels1.ltx
blob: cdd69cffcff751cff3021e9ec8e19af7367c8277 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
% ......   start of pictex file generated by FastPicTeX   ...... 
\beginpicture 
% ......   macros for errorbars   ...... 
\newcommand{\putxerrorbar}[3]{% 
\dimen0=\Xdistance{#1} \dimen1=\Ydistance{#2} \dimen2=\Xdistance{#3} 
\unitlength=1pt \setdimensionmode 
\dimen3=\dimen0 \advance \dimen3 by -\dimen2 
\dimen4=\dimen0 \advance \dimen4 by \dimen2 
\dimen5=\dimen1 \advance \dimen5 by -1mm 
\dimen6=\dimen1 \advance \dimen6 by 1mm 
\putrule from {\dimen3} {\dimen1} to {\dimen4} {\dimen1} 
\putrule from {\dimen3} {\dimen5} to {\dimen3} {\dimen6} 
\putrule from {\dimen4} {\dimen5} to {\dimen4} {\dimen6} 
\setcoordinatemode } 
\newcommand{\putyerrorbar}[3]{% 
\dimen0=\Xdistance{#1} \dimen1=\Ydistance{#2} \dimen2=\Ydistance{#3} 
\unitlength=1pt \setdimensionmode 
\dimen3=\dimen1 \advance \dimen3 by -\dimen2 
\dimen4=\dimen1 \advance \dimen4 by \dimen2 
\dimen5=\dimen0 \advance \dimen5 by -1mm 
\dimen6=\dimen0 \advance \dimen6 by 1mm 
\putrule from {\dimen0} {\dimen3} to {\dimen0} {\dimen4} 
\putrule from {\dimen5} {\dimen3} to {\dimen6} {\dimen3} 
\putrule from {\dimen5} {\dimen4} to {\dimen6} {\dimen4} 
\setcoordinatemode } 
\setcoordinatesystem units <2cm,0.04cm> point at 0 0 
\setplotarea x from 0 to 5, y from 0 to 100 
% .......... axis ............ 
\axis bottom label {} ticks withvalues {} {Germany} {Un. Kingd.} {Sweden} {France} {} / 
quantity 6 / 
\axis left label {} ticks numbered from 0 to 100 by 25 / 
% .......... heading ............ 
\plotheading {} 
% .......... series ............. 
\shaderectanglesoff 
\putrectangle corners at 0.6 0 and 1 12 
\putrectangle corners at 1.6 0 and 2 23 
\putrectangle corners at 2.6 0 and 3 45 
\putrectangle corners at 3.6 0 and 4 32 
\putyerrorbar{0.8}{12}{1.2} 
\put {} [b] <0mm,0.5\baselineskip> at 0.8 13.2
\putyerrorbar{1.8}{23}{2.5} 
\put {} [b] <0mm,0.5\baselineskip> at 1.8 25.5
\putyerrorbar{2.8}{45}{5.3} 
\put {} [b] <0mm,0.5\baselineskip> at 2.8 50.3
\putyerrorbar{3.8}{32}{4.8} 
\put {} [b] <0mm,0.5\baselineskip> at 3.8 36.8
\shaderectanglesoff%
\dimen0=\linethickness%
\setlength{\linethickness}{\Xdistance{0.4}}%
\putrule from 1.2 0 to 1.2 65 
\putrule from 2.2 0 to 2.2 34 
\putrule from 3.2 0 to 3.2 12 
\putrule from 4.2 0 to 4.2 85 
\setlength{\linethickness}{\dimen0}%
\putyerrorbar{1.2}{65}{6.5} 
\put {} [b] <0mm,0.5\baselineskip> at 1.2 71.5
\putyerrorbar{2.2}{34}{5.3} 
\put {} [b] <0mm,0.5\baselineskip> at 2.2 39.3
\putyerrorbar{3.2}{12}{2.1} 
\put {} [b] <0mm,0.5\baselineskip> at 3.2 14.1
\putyerrorbar{4.2}{85}{9.6} 
\put {} [b] <0mm,0.5\baselineskip> at 4.2 94.6
\endpicture 
% ......   end of pictex file generated by FastPicTeX   ......