2 % Version 3.3.2 prologue for matrix display files.
22 /pagebbox [0 0 612 792] def
24 /inch {72 mul} bind def
25 /min {2 copy gt {exch} if pop} bind def
27 /show {show} bind def % so later references don't bind
28 /stringwidth {stringwidth} bind def
31 counttomark 2 idiv {def} repeat pop
33 landscape {/orientation 90 orientation add def} if
37 /statspace statspace height width div mul def
38 /size size height width div mul def
39 /ticklength ticklength height width div mul def
41 /height height margin sub statspace inch sub ticklength inch sub size 6 mul sub def
42 /width width margin sub ticklength inch sub def
43 xcenter ycenter translate
44 orientation rotation mul rotate
45 xoffset inch yoffset inch translate
46 0 height 2 div height width min 2 div sub translate
47 0 statspace inch 2 div translate
48 magnification dup aspectratio mul scale
55 /pagebbox [clippath pathbbox newpath] def
58 4 -1 roll exch 4 1 roll 4 copy
59 landscape {4 2 roll} if
62 add 2 div /xcenter exch def
63 add 2 div /ycenter exch def
64 userdict /gotpagebbox true put
67 /pagesetup {/page exch def} bind def
73 /picstr scanlength string def
76 height scanlines div width scanlength div min
80 scanlength neg 2 div scanlines neg 2 div translate
81 scanlength scanlines scale
87 scanlength scanlines 8 [scanlength 0 0 scanlines neg 0 scanlines] {
89 currentfile token pop dup
90 0 eq {pop pop exit} if
92 picstr 1 index charcount getinterval
94 currentfile repl readhexstring pop pop
96 currentfile token pop {
97 picstr 1 index repl putinterval
106 /matrixlimits exch def
110 scaling scaling scale
111 font findfont size scaling div scalefont setfont
112 scanlength neg 2 div scanlines 2 div translate
114 0 scanlines size 1.5 mul scaling div add neg moveto
117 scanlength scanlines size 1.5 mul scaling div add neg moveto
118 matrixlimits stringwidth pop neg 0 rmoveto
124 0 scanlines neg rlineto
125 scanlength neg 0 rlineto
128 scanlength tickspacing idiv 1 add tickspacing 0 ticks
129 scanlines tickspacing idiv 1 add 0 tickspacing neg ticks
137 /tl ticklength inch scaling div def
141 gsave dx 0 eq {tl neg 0} {0 tl} ifelse rlineto stroke grestore
151 width height min 2 div neg dup size 2 mul sub translate
152 0 statspace inch neg translate
157 total div statspace inch size 2 mul sub mul size 2 mul add
158 width height min regions div exch scale
159 1 1 8 [1 0 0 1 0 0] 5 -1 roll image
161 width height min regions div 0 translate
165 width height min size 1.5 mul neg translate
166 font findfont size scalefont setfont
167 dup dup add 1 add width height min exch div /interval exch def
169 interval neg 0 translate
170 interval 2 div neg 0 translate
171 dup stringwidth pop 2 div neg 0 moveto show
172 interval 2 div neg 0 translate
177 /done {/lastpage where {pop lastpage} if} def