summaryrefslogtreecommitdiff
path: root/support/fastpictex/doc/manual/pictex-command.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'support/fastpictex/doc/manual/pictex-command.ltx')
-rw-r--r--support/fastpictex/doc/manual/pictex-command.ltx90
1 files changed, 90 insertions, 0 deletions
diff --git a/support/fastpictex/doc/manual/pictex-command.ltx b/support/fastpictex/doc/manual/pictex-command.ltx
new file mode 100644
index 0000000000..a0b567edba
--- /dev/null
+++ b/support/fastpictex/doc/manual/pictex-command.ltx
@@ -0,0 +1,90 @@
+% ...... 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 <0.833333cm,0.024cm> point at 0 0
+\setplotarea x from 0 to 6, y from 50 to 175
+% .......... axis ............
+\axis bottom label {Days} ticks withvalues {} {1} {2} {3} {4} {5} {} /
+quantity 7 /
+\axis left label {mmHg} ticks numbered from 50 to 175 by 25 /
+% .......... heading ............
+\plotheading {Blood pressure on 5 consecutive days}
+% .......... series .............
+\put {$\bullet$} at 1 105
+\putyerrorbar{1}{105}{10}
+\put {} [b] <0mm,0.5\baselineskip> at 1 115
+\put {$\bullet$} at 2 96
+\putyerrorbar{2}{96}{9}
+\put {} [b] <0mm,0.5\baselineskip> at 2 105
+\put {$\bullet$} at 3 150
+\putyerrorbar{3}{150}{13}
+\put {} [b] <0mm,0.5\baselineskip> at 3 163
+\put {$\bullet$} at 4 87
+\putyerrorbar{4}{87}{5}
+\put {} [b] <0mm,0.5\baselineskip> at 4 92
+\put {$\bullet$} at 5 98
+\putyerrorbar{5}{98}{7}
+\put {} [b] <0mm,0.5\baselineskip> at 5 105
+\put {$\circ$} at 1 85
+\putyerrorbar{1}{85}{7}
+\put {} [b] <0mm,0.5\baselineskip> at 1 92
+\put {$\circ$} at 2 92
+\putyerrorbar{2}{92}{8}
+\put {} [b] <0mm,0.5\baselineskip> at 2 100
+\put {$\circ$} at 3 80
+\putyerrorbar{3}{80}{9}
+\put {} [b] <0mm,0.5\baselineskip> at 3 89
+\put {$\circ$} at 4 95
+\putyerrorbar{4}{95}{10}
+\put {} [b] <0mm,0.5\baselineskip> at 4 105
+\put {$\circ$} at 5 90
+\putyerrorbar{5}{90}{7}
+\put {} [b] <0mm,0.5\baselineskip> at 5 97
+\setlinear
+\setsolid
+\plot 1 105 2 96 3 150 4 87 5 98 /
+\setsolid
+\put {} [b] <0mm,0.5\baselineskip> at 1 105
+\put {} [b] <0mm,0.5\baselineskip> at 2 96
+\put {} [b] <0mm,0.5\baselineskip> at 3 150
+\put {} [b] <0mm,0.5\baselineskip> at 4 87
+\put {} [b] <0mm,0.5\baselineskip> at 5 98
+\setlinear
+\setdots
+\plot 1 85 2 92 3 80 4 95 5 90 /
+\setsolid
+\put {} [b] <0mm,0.5\baselineskip> at 1 85
+\put {} [b] <0mm,0.5\baselineskip> at 2 92
+\put {} [b] <0mm,0.5\baselineskip> at 3 80
+\put {} [b] <0mm,0.5\baselineskip> at 4 95
+\put {} [b] <0mm,0.5\baselineskip> at 5 90
+\put {$\bullet$} [ct] <0.4cm,-1ex> at 6 175
+\put {male subjects, n=9} [l,c] <1cm,-1ex> at 6 175
+\put {$\circ$} [ct] <0.4cm,-3.5ex> at 6 175
+\put {female subjects, n=7} [l,c] <1cm,-3.5ex> at 6 175
+\arrow <3mm> [0.2,0.67] from 3.5 160 to 3.1 150
+\put {artifact} [lc] at 3.6 160
+\endpicture
+% ...... end of pictex file generated by FastPicTeX ......