Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

logclip.ps 48 KB

You have to be logged in to leave a comment. Sign In
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
  1. %!PS-Adobe-3.0
  2. %%BoundingBox: 0 0 612 792
  3. %%HiResBoundingBox: 0 0 612.0000 792.0000
  4. %%Title: GMT v6.1.0_3f8c072-dirty_2020.06.12 [64-bit] Document from psxy
  5. %%Creator: GMT6
  6. %%For: unknown
  7. %%DocumentNeededResources: font Helvetica
  8. %%CreationDate: Sat Jun 13 09:14:04 2020
  9. %%LanguageLevel: 2
  10. %%DocumentData: Clean7Bit
  11. %%Orientation: Portrait
  12. %%Pages: 1
  13. %%EndComments
  14. %%BeginProlog
  15. % Begin pslib header
  16. 250 dict begin
  17. /! {bind def} bind def
  18. /# {load def}!
  19. /A /setgray #
  20. /B /setdash #
  21. /C /setrgbcolor #
  22. /D /rlineto #
  23. /E {dup stringwidth pop}!
  24. /F /fill #
  25. /G /rmoveto #
  26. /H /sethsbcolor #
  27. /I /setpattern #
  28. /K /setcmykcolor #
  29. /L /lineto #
  30. /M /moveto #
  31. /N /newpath #
  32. /P /closepath #
  33. /R /rotate #
  34. /S /stroke #
  35. /T /translate #
  36. /U /grestore #
  37. /V /gsave #
  38. /W /setlinewidth #
  39. /Y {findfont exch scalefont setfont}!
  40. /Z /show #
  41. /FP {true charpath flattenpath}!
  42. /MU {matrix setmatrix}!
  43. /MS {/SMat matrix currentmatrix def}!
  44. /MR {SMat setmatrix}!
  45. /edef {exch def}!
  46. % Path fill
  47. /FS {/fc edef /fs {V fc F U} def}!
  48. /FQ {/fs {} def}!
  49. % Outline off or on
  50. /O0 {/os {N} def}!
  51. /O1 {/os {P S} def}!
  52. % Set both fill and outline
  53. /FO {fs os}!
  54. % Star: radius xc yc
  55. /Sa {M MS dup 0 exch G 0.726542528 mul -72 R dup 0 D 4 {72 R dup 0 D -144 R dup 0 D} repeat pop MR FO}!
  56. % Box: height width xll yll
  57. /Sb {M dup 0 D exch 0 exch D neg 0 D FO}!
  58. % Rounded box: height width radius xll yll
  59. /SB {MS T /BoxR edef /BoxW edef /BoxH edef BoxR 0 M
  60. BoxW 0 BoxW BoxH BoxR arct BoxW BoxH 0 BoxH BoxR arct 0 BoxH 0 0 BoxR arct 0 0 BoxW 0 BoxR arct MR FO}!
  61. % Circle: radius xc yc
  62. /Sc {N 3 -1 roll 0 360 arc FO}!
  63. % Diamond: radius xc yc
  64. /Sd {M 4 {dup} repeat 0 G neg dup dup D exch D D FO}!
  65. % Ellipse: major minor angle xc yc
  66. /Se {N MS T R scale 0 0 1 0 360 arc MR FO}!
  67. % Octagon: radius xc yc
  68. /Sg {M MS 22.5 R dup 0 exch G -22.5 R 0.765366865 mul dup 0 D 6 {-45 R dup 0 D} repeat pop MR FO}!
  69. % Hexagon: radius xc yc
  70. /Sh {M MS dup 0 G -120 R dup 0 D 4 {-60 R dup 0 D} repeat pop MR FO}!
  71. % Inverted triangle: radius xc yc
  72. /Si {M MS dup neg 0 exch G 60 R 1.732050808 mul dup 0 D 120 R 0 D MR FO}!
  73. % Rotated rectangle: height width angle xc yc
  74. /Sj {M MS R dup -2 div 2 index -2 div G dup 0 D exch 0 exch D neg 0 D MR FO}!
  75. % Pentagon: radius xc yc
  76. /Sn {M MS dup 0 exch G -36 R 1.175570505 mul dup 0 D 3 {-72 R dup 0 D} repeat pop MR FO}!
  77. % Dot: radius xc yc [hardwired as circle with no outline]
  78. /Sp {N 3 -1 roll 0 360 arc fs N}!
  79. % Patch fill: x1 y1 ... xn yn n
  80. /SP {M {D} repeat FO}!
  81. % Rectangle: height width xc yc
  82. /Sr {M dup -2 div 2 index -2 div G dup 0 D exch 0 exch D neg 0 D FO}!
  83. % Rounded rectangle: height width radius xc yc
  84. /SR {MS T /BoxR edef /BoxW edef /BoxH edef BoxR BoxW -2 div BoxH -2 div T BoxR 0 M
  85. BoxW 0 BoxW BoxH BoxR arct BoxW BoxH 0 BoxH BoxR arct 0 BoxH 0 0 BoxR arct 0 0 BoxW 0 BoxR arct MR FO}!
  86. % Square: radius xc yc
  87. /Ss {M 1.414213562 mul dup dup dup -2 div dup G 0 D 0 exch D neg 0 D FO}!
  88. % Triangle: radius xc yc
  89. /St {M MS dup 0 exch G -60 R 1.732050808 mul dup 0 D -120 R 0 D MR FO}!
  90. % Single-headed vector
  91. /SV {0 exch M 0 D D D D D 0 D FO}!
  92. % Double-headed vector
  93. /Sv {0 0 M D D 0 D D D D D 0 D D FO}!
  94. % Pie Wedge: radius angle1 angle2 xc yc
  95. /Sw {2 copy M 5 2 roll arc FO}!
  96. % Cross: radius xc yc
  97. /Sx {M 1.414213562 mul 5 {dup} repeat -2 div dup G D neg 0 G neg D S}!
  98. % Y-dash: radius xc yc
  99. /Sy {M dup 0 exch G dup -2 mul dup 0 exch D S}!
  100. % Plus: radius xc yc
  101. /S+ {M dup 0 G dup -2 mul dup 0 D exch dup G 0 exch D S}!
  102. % X-dash: radius xc yc
  103. /S- {M dup 0 G dup -2 mul dup 0 D S}!
  104. % String width, height, depth and total height (height-depth)
  105. /sw {stringwidth pop}!
  106. /sh {V MU 0 0 M FP pathbbox N 4 1 roll pop pop pop U}!
  107. /sd {V MU 0 0 M FP pathbbox N pop pop exch pop U}!
  108. /sH {V MU 0 0 M FP pathbbox N exch pop exch sub exch pop U}!
  109. /sb {E exch sh}!
  110. % To align text {bottom,middle,top}{left,center,right}
  111. /bl {}!
  112. /bc {E -2 div 0 G}!
  113. /br {E neg 0 G}!
  114. /ml {dup 0 exch sh -2 div G}!
  115. /mc {dup E -2 div exch sh -2 div G}!
  116. /mr {dup E neg exch sh -2 div G}!
  117. /tl {dup 0 exch sh neg G}!
  118. /tc {dup E -2 div exch sh neg G}!
  119. /tr {dup E neg exch sh neg G}!
  120. % Maximum of two numbers
  121. /mx {2 copy lt {exch} if pop}!
  122. % Translate and memorize advance
  123. /PSL_xorig 0 def /PSL_yorig 0 def
  124. /TM {2 copy T PSL_yorig add /PSL_yorig edef PSL_xorig add /PSL_xorig edef}!
  125. % To re-encode one font with the provided encoding vector
  126. /PSL_reencode {findfont dup length dict begin
  127. {1 index /FID ne {def}{pop pop} ifelse} forall
  128. exch /Encoding edef currentdict end definefont pop
  129. }!
  130. /PSL_eps_begin { % Marks begin of EPSF inclusion
  131. /PSL_eps_state save def % Save state for cleanup
  132. /PSL_dict_count countdictstack def % Count objects on dict stack
  133. /PSL_op_count count 1 sub def % Count objects on operand stack
  134. userdict begin % Push userdict stack
  135. /showpage {} def % Deactivate showpage command
  136. 0 setgray 0 setlinecap 1 setlinewidth % Prepare clean graphics state
  137. 0 setlinejoin 10 setmiterlimit [] 0 setdash newpath
  138. /languagelevel where % If level != 1, set strokeadjust and overprint to their defaults
  139. {pop languagelevel 1 ne {false setstrokeadjust false setoverprint} if} if
  140. }!
  141. /PSL_eps_end { % Marks end of EPSF inclusion
  142. count PSL_op_count sub {pop} repeat % Clean up operand stack
  143. countdictstack PSL_dict_count sub {end} repeat % Clean up dict stack
  144. PSL_eps_state restore % Restore saved state
  145. }!
  146. /PSL_transp { % Set transparency
  147. /.setopacityalpha where {pop .setblendmode .setopacityalpha}{ % Using ghostscript
  148. /pdfmark where {pop [ /BM exch /CA exch dup /ca exch /SetTransparency pdfmark} % Or Adobe
  149. {pop pop} ifelse} ifelse % Or skip if neither are supported
  150. }!
  151. /ISOLatin1+_Encoding [
  152. /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
  153. /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
  154. /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
  155. /.notdef /bullet /ellipsis /trademark /emdash /endash /fi /zcaron
  156. /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quoteright
  157. /parenleft /parenright /asterisk /plus /comma /minus /period /slash
  158. /zero /one /two /three /four /five /six /seven
  159. /eight /nine /colon /semicolon /less /equal /greater /question
  160. /at /A /B /C /D /E /F /G
  161. /H /I /J /K /L /M /N /O
  162. /P /Q /R /S /T /U /V /W
  163. /X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore
  164. /quoteleft /a /b /c /d /e /f /g
  165. /h /i /j /k /l /m /n /o
  166. /p /q /r /s /t /u /v /w
  167. /x /y /z /braceleft /bar /braceright /asciitilde /scaron
  168. /OE /dagger /daggerdbl /Lslash /fraction /guilsinglleft /Scaron /guilsinglright
  169. /oe /Ydieresis /Zcaron /lslash /perthousand /quotedblbase /quotedblleft /quotedblright
  170. /dotlessi /grave /acute /circumflex /tilde /macron /breve /dotaccent
  171. /dieresis /quotesinglbase /ring /cedilla /quotesingle /hungarumlaut /ogonek /caron
  172. /space /exclamdown /cent /sterling /currency /yen /brokenbar /section
  173. /dieresis /copyright /ordfeminine /guillemotleft /logicalnot /hyphen /registered /macron
  174. /degree /plusminus /twosuperior /threesuperior /acute /mu /paragraph /periodcentered
  175. /cedilla /onesuperior /ordmasculine /guillemotright /onequarter /onehalf /threequarters /questiondown
  176. /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla
  177. /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis
  178. /Eth /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply
  179. /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute /Thorn /germandbls
  180. /agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla
  181. /egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis
  182. /eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide
  183. /oslash /ugrave /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis
  184. ] def
  185. /PSL_font_encode 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 39 array astore def % Initially zero
  186. /F0 {/Helvetica Y}!
  187. /F1 {/Helvetica-Bold Y}!
  188. /F2 {/Helvetica-Oblique Y}!
  189. /F3 {/Helvetica-BoldOblique Y}!
  190. /F4 {/Times-Roman Y}!
  191. /F5 {/Times-Bold Y}!
  192. /F6 {/Times-Italic Y}!
  193. /F7 {/Times-BoldItalic Y}!
  194. /F8 {/Courier Y}!
  195. /F9 {/Courier-Bold Y}!
  196. /F10 {/Courier-Oblique Y}!
  197. /F11 {/Courier-BoldOblique Y}!
  198. /F12 {/Symbol Y}!
  199. /F13 {/AvantGarde-Book Y}!
  200. /F14 {/AvantGarde-BookOblique Y}!
  201. /F15 {/AvantGarde-Demi Y}!
  202. /F16 {/AvantGarde-DemiOblique Y}!
  203. /F17 {/Bookman-Demi Y}!
  204. /F18 {/Bookman-DemiItalic Y}!
  205. /F19 {/Bookman-Light Y}!
  206. /F20 {/Bookman-LightItalic Y}!
  207. /F21 {/Helvetica-Narrow Y}!
  208. /F22 {/Helvetica-Narrow-Bold Y}!
  209. /F23 {/Helvetica-Narrow-Oblique Y}!
  210. /F24 {/Helvetica-Narrow-BoldOblique Y}!
  211. /F25 {/NewCenturySchlbk-Roman Y}!
  212. /F26 {/NewCenturySchlbk-Italic Y}!
  213. /F27 {/NewCenturySchlbk-Bold Y}!
  214. /F28 {/NewCenturySchlbk-BoldItalic Y}!
  215. /F29 {/Palatino-Roman Y}!
  216. /F30 {/Palatino-Italic Y}!
  217. /F31 {/Palatino-Bold Y}!
  218. /F32 {/Palatino-BoldItalic Y}!
  219. /F33 {/ZapfChancery-MediumItalic Y}!
  220. /F34 {/ZapfDingbats Y}!
  221. /F35 {/Ryumin-Light-EUC-H Y}!
  222. /F36 {/Ryumin-Light-EUC-V Y}!
  223. /F37 {/GothicBBB-Medium-EUC-H Y}!
  224. /F38 {/GothicBBB-Medium-EUC-V Y}!
  225. /PSL_pathtextdict 26 dict def % Local storage for the procedure PSL_pathtext.
  226. /PSL_pathtext % PSL_pathtext'' will place a string
  227. {PSL_pathtextdict begin % of text along any path. It takes
  228. /ydepth exch def % a string and starting offset
  229. /textheight exch def % distance from the beginning of
  230. /just exch def % the path as its arguments. Note
  231. /offset exch def % that PSL_pathtext assumes that a
  232. /str exch def % path has already been defined
  233. % and after it places the text
  234. % along the path, it clears the
  235. % current path like the ``stroke''
  236. % and ``fill'' operators; it also
  237. % assumes that a font has been
  238. % set. ``pathtext'' begins placing
  239. % the characters along the current
  240. % path, starting at the offset
  241. % distance and continuing until
  242. % either the path length is
  243. % exhausted or the entire string
  244. % has been printed, whichever
  245. % occurs first. The results will
  246. % be more effective when a small
  247. % point size font is used with
  248. % sharp curves in the path.
  249. /pathdist 0 def % Initialize the distance we have
  250. % travelled along the path.
  251. /setdist offset def % Initialize the distance we have
  252. % covered by setting characters.
  253. /charcount 0 def % Initialize the character count.
  254. /justy just 4 idiv textheight mul 2 div neg ydepth sub def % Compute the y-shift
  255. V flattenpath % Reduce the path to a series of
  256. % straight line segments. The
  257. % characters will be placed along
  258. % the line segments in the
  259. % ``linetoproc.''
  260. {movetoproc} {linetoproc} % The basic strategy is to process
  261. {curvetoproc} {closepathproc} % the segments of the path,
  262. pathforall % keeping a running total of the
  263. % distance we have travelled so
  264. % far (pathdist). We also keep
  265. % track of the distance taken up
  266. % by the characters that have been
  267. % set so far (setdist). When the
  268. % distance we have travelled along
  269. % the path is greater than the
  270. % distance taken up by the set
  271. % characters, we are ready to set
  272. % the next character (if there are
  273. % any left to be set). This
  274. % process continues until we have
  275. % exhausted the full length of the
  276. % path.
  277. U N % Clear the current path.
  278. end
  279. } def
  280. PSL_pathtextdict begin
  281. /movetoproc % ``movetoproc'' is executed when
  282. { /newy exch def /newx exch def % a moveto component has been
  283. % encountered in the pathforall
  284. % operation.
  285. /firstx newx def /firsty newy def % Remember the ``first point'' in
  286. % the path so that when we get a
  287. % ``closepath'' component we can
  288. % properly handle the text.
  289. /ovr 0 def
  290. newx newy transform
  291. /cpy exch def /cpx exch def % Explicitly keep track of the
  292. % current position in device
  293. % space.
  294. } def
  295. /linetoproc % ``linetoproc'' is executed when
  296. % a lineto component has been
  297. % encountered in the pathforall
  298. % operation.
  299. { /oldx newx def /oldy newy def % Update the old point.
  300. /newy exch def /newx exch def % Get the new point.
  301. /dx newx oldx sub def
  302. /dy newy oldy sub def
  303. /dist dx dup mul dy dup mul add sqrt def % Calculate the distance between
  304. % the old and the new point.
  305. dist 0 ne
  306. { /dsx dx dist div ovr mul def % dsx and dsy are used to update
  307. /dsy dy dist div ovr mul def % the current position to be just
  308. % beyond the width of the previous
  309. % character.
  310. oldx dsx add oldy dsy add transform
  311. /cpy exch def /cpx exch def % Update the current position.
  312. /pathdist pathdist dist add def % Increment the distance we have
  313. % travelled along the path.
  314. {setdist pathdist le % Keep setting characters along
  315. % this path segment until we have
  316. % exhausted its length.
  317. {charcount str length lt % As long as there are still
  318. {setchar} {exit} ifelse} % characters left in the string,
  319. % set them.
  320. { /ovr setdist pathdist sub def % Keep track of how much we have
  321. exit} % overshot the path segment by
  322. ifelse % setting the previous character.
  323. % This enables us to position the
  324. % origin of the following
  325. % characters properly on the path.
  326. } loop
  327. } if
  328. } def
  329. /curvetoproc % ``curvetoproc'' is executed when
  330. { (ERROR: No curveto's after flattenpath!) % a curveto component has been
  331. print % encountered in the pathforall
  332. } def % operation. It prints an error
  333. % message since there shouldn't be
  334. % any curveto's in a path after
  335. % the flattenpath operator has
  336. % been executed.
  337. /closepathproc % ``closepathproc'' is executed
  338. {firstx firsty linetoproc % when a closepath component has
  339. firstx firsty movetoproc % been encountered in the
  340. } def % pathforall operation. It
  341. % simulates the action of the
  342. % operator ``closepath'' by
  343. % executing ``linetoproc'' with
  344. % the coordinates of the most
  345. % recent ``moveto'' and then
  346. % executing ``movetoproc'' to the
  347. % same point.
  348. /setchar % ``setchar'' sets the next
  349. { /char str charcount 1 getinterval def % character in the string along
  350. % the path and then updates the
  351. % amount of path we have
  352. % exhausted.
  353. /charcount charcount 1 add def % Increment the character count.
  354. /charwidth char stringwidth pop def % Find the width of the character.
  355. V cpx cpy itransform T % Translate to the current
  356. % position in user space.
  357. dy dx atan R % Rotate the x-axis to coincide
  358. % with the current segment.
  359. 0 justy M
  360. char show
  361. 0 justy neg G
  362. currentpoint transform
  363. /cpy exch def /cpx exch def % Update the current position
  364. % before we restore ourselves to
  365. % the untransformed state.
  366. U /setdist setdist charwidth add def % Increment the distance we have
  367. } def % covered by setting characters.
  368. end
  369. % PSL LABEL CLIP FUNCTIONS
  370. % Two main functions deals with label placement and clipping:
  371. % PSL_curved_path_labels: handles texts that must follow curved baselines
  372. % PSL_straight_path_labels: handles texts that have straight baselines
  373. %
  374. % Both functions assume that several variables have been predefined:
  375. %
  376. % First we have these two constant settings for all text boxes:
  377. %
  378. % PSL_setboxpen Function that sets the text box pen attributes (width, texture, color)
  379. % PSL_setboxrgb Function that sets the opaque text box color
  380. %
  381. % Then several arrays are placed. Since a set of several lines segments may each
  382. % have many labels along them, we end up with these variables:
  383. %
  384. % PSL_n_paths Total number of segments
  385. % PSL_path_x x coordinates of the paths (all concatenated one after another)
  386. % PSL_path_y y coordinates of the paths (all concatenated one after another)
  387. % PSL_path_n Array with number of points per segment
  388. % PSL_label_str Array with all the labels for all segments
  389. % PSL_label_n Array with number of labels per segment
  390. % PSL_angle The annotation angle for each label
  391. %
  392. % PSL_curved_path_labels expects those labels to be placed along several
  393. % lines and it needs the node numbers where to place text:
  394. %
  395. % PSL_node Array with (x,y) node number of label position
  396. %
  397. % PSL_straight_path_labels are simpler and instead expects
  398. %
  399. % PSL_txt_x (x,y) coordinates of the location of the m labels
  400. % PSL_txt_y
  401. /PSL_set_label_heights
  402. { % Create array PSL_heights with full label heights
  403. /PSL_n_labels_minus_1 PSL_n_labels 1 sub def % Upper limit in loop over labels
  404. /PSL_heights PSL_n_labels array def % Create array with text heights
  405. 0 1 PSL_n_labels_minus_1 % Loop psl_k = 0 < PSL_n_labels
  406. { /psl_k exch def % Current label index psl_k
  407. /psl_label PSL_label_str psl_k get def % Current text label
  408. PSL_label_font psl_k get cvx exec % Get and set this label's font attributes
  409. psl_label sH /PSL_height edef % Compute the height of this string
  410. PSL_heights psl_k PSL_height put % Store it in the array
  411. } for
  412. } def
  413. % Curved Baseline Text Placement Functions
  414. /PSL_curved_path_labels
  415. { /psl_bits exch def % 4 on/of bit settings as indicated below
  416. /PSL_placetext psl_bits 2 and 2 eq def % true to place text, false to just make space
  417. /PSL_clippath psl_bits 4 and 4 eq def % false inactive, true creates clippath for labels
  418. /PSL_strokeline false def % true draws line, false skips
  419. /PSL_fillbox psl_bits 128 and 128 eq def % true to paint box opaque before placing text, false gives transparent box
  420. /PSL_drawbox psl_bits 256 and 256 eq def % true to draw box outline before placing text, false gives no outline
  421. /PSL_n_paths1 PSL_n_paths 1 sub def % one less is the upper limit in for loop over the paths
  422. /PSL_usebox PSL_fillbox PSL_drawbox or def % true if we need box outline for fill or stroke or both
  423. PSL_clippath {clipsave N clippath} if % Bracket with clipsave/cliprestore and start clip path
  424. /psl_k 0 def
  425. /psl_p 0 def
  426. 0 1 PSL_n_paths1
  427. { /psl_kk exch def % Index into the PSL_n PSL_m arrays
  428. /PSL_n PSL_path_n psl_kk get def % Get the number of points in this line segment
  429. /PSL_m PSL_label_n psl_kk get def % Get the number of labels for this line segment
  430. /PSL_x PSL_path_x psl_k PSL_n getinterval def % Get the subset that is the current line segment x-coordinates
  431. /PSL_y PSL_path_y psl_k PSL_n getinterval def % Get the subset that is the current line segment y-coordinates
  432. /PSL_node_tmp PSL_label_node psl_p PSL_m getinterval def % Get the subset of node values for current line segment
  433. /PSL_angle_tmp PSL_label_angle psl_p PSL_m getinterval def % Get the subset of angle values for current line segment
  434. /PSL_str_tmp PSL_label_str psl_p PSL_m getinterval def % Get the subset of string values for current line segment
  435. /PSL_fnt_tmp PSL_label_font psl_p PSL_m getinterval def % Get the subset of font settings for current line segment
  436. PSL_curved_path_label % Operate on this segment only
  437. /psl_k psl_k PSL_n add def % Go to next segment start index for path
  438. /psl_p psl_p PSL_m add def % Go to next segment start index for nodes
  439. } for % The loop over segments
  440. PSL_clippath {PSL_eoclip} if N % Activate clip path and return
  441. } def
  442. /PSL_curved_path_label
  443. { % Deals with a single line segment and its labels
  444. /PSL_n1 PSL_n 1 sub def % one less is the upper limit in for loops
  445. /PSL_m1 PSL_m 1 sub def % same
  446. PSL_CT_calcstringwidth % Calculate the width of each label string
  447. PSL_CT_calclinedist % Calculate along-track distances
  448. PSL_CT_excludelabels % Possibly eliminate labels outside of line domain
  449. PSL_CT_addcutpoints % Expand path to include the cut points
  450. % Now we have the final xx/yy array and we are ready to simply lay down the lines
  451. % and place the text along the line where there are labels. We will use the
  452. % new array PSL_xp/yp to store the final points prior to use
  453. /PSL_nn1 PSL_nn 1 sub def % End index in for loop
  454. /n 0 def % Toggle: 0 means line, 1 means text
  455. /k 0 def % Index of the current text string
  456. /j 0 def % Output point number counter
  457. /PSL_seg 0 def % Line segment number
  458. /PSL_xp PSL_nn array def
  459. /PSL_yp PSL_nn array def
  460. PSL_xp 0 PSL_xx 0 get put % Place first point in array
  461. PSL_yp 0 PSL_yy 0 get put
  462. 1 1 PSL_nn1 % Loop over rest of points
  463. { /i exch def % Index into PSL_xx/yy arrays
  464. /node_type PSL_kind i get def % Check what kind of point the current point is
  465. /j j 1 add def % Update point count
  466. PSL_xp j PSL_xx i get put % Add this point to the path
  467. PSL_yp j PSL_yy i get put
  468. node_type 1 eq % If this is a cut point we either stroke or place text
  469. {n 0 eq % n is 0 so this is the strokable segment
  470. {PSL_CT_drawline}
  471. { PSL_CT_reversepath % here, n = 1 so this is the segment along which text should be placed
  472. PSL_CT_textline} ifelse % Reverse path if needed to place text correctly
  473. /j 0 def
  474. PSL_xp j PSL_xx i get put % Place new first point in array
  475. PSL_yp j PSL_yy i get put
  476. } if
  477. } for
  478. n 0 eq {PSL_CT_drawline} if % Finish off the last line segment
  479. } def
  480. /PSL_CT_textline
  481. { PSL_fnt k get cvx exec % Get and set this label's font attributes
  482. /PSL_height PSL_heights k get def % Recall the height of this text
  483. PSL_placetext {PSL_CT_placelabel} if % If we want to place the text
  484. PSL_clippath {PSL_CT_clippath} if
  485. /n 0 def /k k 1 add def % Set n back to 0, goto next label
  486. } def
  487. /PSL_CT_calcstringwidth % Calculate the width of each label string
  488. { /PSL_width_tmp PSL_m array def % Assign space for distance
  489. 0 1 PSL_m1
  490. { /i exch def
  491. PSL_fnt_tmp i get cvx exec % Get and set this label's font attributes
  492. PSL_width_tmp i PSL_str_tmp i get stringwidth pop put % Compute width and store in the array
  493. } for
  494. } def
  495. /PSL_CT_calclinedist % Calculate the distance along the line
  496. { /PSL_newx PSL_x 0 get def
  497. /PSL_newy PSL_y 0 get def
  498. /dist 0.0 def % Cumulative distance at first point is 0
  499. /PSL_dist PSL_n array def % Assign array space for distance
  500. PSL_dist 0 0.0 put % Distances start at 0 and the 'th point
  501. 1 1 PSL_n1 % Loop over the remaining points
  502. { /i exch def
  503. /PSL_oldx PSL_newx def
  504. /PSL_oldy PSL_newy def
  505. /PSL_newx PSL_x i get def
  506. /PSL_newy PSL_y i get def
  507. /dx PSL_newx PSL_oldx sub def
  508. /dy PSL_newy PSL_oldy sub def
  509. /dist dist dx dx mul dy dy mul add sqrt add def
  510. PSL_dist i dist put
  511. } for
  512. } def
  513. % Some labels (in particular first and last per segment) may be too long
  514. % to actually fit inside the length of the line. We precalculate the
  515. % start and end distances for each label and those that exceed the length
  516. % of the line cannot be plotted and are thus skipped. The surviving labels
  517. % and their information is copied to the final PSL arrays
  518. /PSL_CT_excludelabels
  519. { /k 0 def % Current cut point
  520. /PSL_width PSL_m array def % New array of distances
  521. /PSL_angle PSL_m array def % New array of angles
  522. /PSL_node PSL_m array def % New array of nodes
  523. /PSL_str PSL_m array def % New array of strings
  524. /PSL_fnt PSL_m array def % New array of fonts
  525. /lastdist PSL_dist PSL_n1 get def % Length of line
  526. 0 1 PSL_m1 % For each of the m labels
  527. { /i exch def % Index for label distance
  528. /dist PSL_dist PSL_node_tmp i get get def % Recall the distance to this label center
  529. /halfwidth PSL_width_tmp i get 2 div PSL_gap_x add def % Set the halfwidth + gap distance
  530. /L_dist dist halfwidth sub def % Distance at beginning of label gap
  531. /R_dist dist halfwidth add def % Distance at the end of label gap
  532. L_dist 0 gt R_dist lastdist lt and % Yes, label is inside line ends
  533. { % These are the labels we will use
  534. PSL_width k PSL_width_tmp i get put % Copy over width
  535. PSL_node k PSL_node_tmp i get put % Copy over node
  536. PSL_angle k PSL_angle_tmp i get put % Copy over angle
  537. PSL_str k PSL_str_tmp i get put % Copy over text
  538. PSL_fnt k PSL_fnt_tmp i get put % Copy over font
  539. /k k 1 add def
  540. } if
  541. } for
  542. /PSL_m k def % New number of labels
  543. /PSL_m1 PSL_m 1 sub def
  544. } def
  545. % Initialize an array with all the original line points plus the set of 2*m
  546. % points at the transition from line to labelspace at each label
  547. % At the end of this section, the PSL_xx/yy array will be the array to use.
  548. /PSL_CT_addcutpoints
  549. { /k 0 def % Current cut point
  550. /PSL_nc PSL_m 2 mul 1 add def % 2*m points + one last acting as infinity
  551. /PSL_cuts PSL_nc array def % The array of distances to each cut
  552. /PSL_nc1 PSL_nc 1 sub def % One less to use in for loop limits
  553. 0 1 PSL_m1 % For each of the m labels
  554. { /i exch def % Index for label distance
  555. /dist PSL_dist PSL_node i get get def % Recall the distance to this label center
  556. /halfwidth PSL_width i get 2 div PSL_gap_x add def % Set the halfwidth + gap distance
  557. PSL_cuts k dist halfwidth sub put % Distance at beginning of label gap
  558. /k k 1 add def % Was at start, now go to end distance node
  559. PSL_cuts k dist halfwidth add put % Distance at the end of label gap
  560. /k k 1 add def % Was at end, move to next
  561. } for
  562. PSL_cuts k 100000.0 put % Last cut has ~infinite distance
  563. /PSL_nn PSL_n PSL_m 2 mul add def % The total path will be 2*m points longer
  564. /PSL_xx PSL_nn array def % Assign new space for x and y
  565. /PSL_yy PSL_nn array def
  566. /PSL_kind PSL_nn array def % 0 = ordinary point, 1 = added point for label gap
  567. /j 0 def % Index for new track array
  568. /k 0 def % Index for current cut distance
  569. /dist 0.0 def % Current distance along track, starting at zero
  570. 0 1 PSL_n1 % Loop over every original line point
  571. { /i exch def % Index into current point on original line xy array
  572. /last_dist dist def % Update distance to last point (initially zero)
  573. /dist PSL_dist i get def % Distance to current point
  574. k 1 PSL_nc1 % Loop over remaining cuts (starting with all)
  575. { /kk exch def % Index into current cut distance
  576. /this_cut PSL_cuts kk get def % Distance to start of this label gap
  577. dist this_cut gt % Oh, oh, we just stepped over a cut point
  578. { /ds dist last_dist sub def % Change in distance
  579. /f ds 0.0 eq {0.0} {dist this_cut sub ds div} ifelse def % Get fractional change in distance
  580. /i1 i 0 eq {0} {i 1 sub} ifelse def
  581. PSL_xx j PSL_x i get dup PSL_x i1 get sub f mul sub put % Calc (x,y) at label start (or stop) point
  582. PSL_yy j PSL_y i get dup PSL_y i1 get sub f mul sub put
  583. PSL_kind j 1 put % Set PSL_kind to 1 since it is an added cut point
  584. /j j 1 add def % Go to next output point
  585. /k k 1 add def % Done with this cut point
  586. } if
  587. } for
  588. dist PSL_cuts k get le % Having dealt with the cut, we may add the regular point
  589. {PSL_xx j PSL_x i get put PSL_yy j PSL_y i get put
  590. PSL_kind j 0 put % Ordinary (original) coordinates
  591. /j j 1 add def % Go to next output point
  592. } if
  593. } for
  594. } def
  595. /PSL_CT_reversepath
  596. {PSL_xp j get PSL_xp 0 get lt % Path must first be reversed to avoid upside-down text
  597. {0 1 j 2 idiv % Loop over half the path and swap left/right points
  598. { /left exch def % Current left point
  599. /right j left sub def % Matching right point
  600. /tmp PSL_xp left get def % Swap left and right values for x then y
  601. PSL_xp left PSL_xp right get put
  602. PSL_xp right tmp put
  603. /tmp PSL_yp left get def
  604. PSL_yp left PSL_yp right get put
  605. PSL_yp right tmp put
  606. } for
  607. } if
  608. % Now PSL_xp/yp has the correct order to give proper text angles
  609. } def
  610. /PSL_CT_placelabel
  611. { % Places the curved text label on current segment
  612. /PSL_just PSL_label_justify k get def % Get this labels justification
  613. /PSL_height PSL_heights k get def % Recall the height of this string
  614. /psl_label PSL_str k get def % Get the current label
  615. /psl_depth psl_label sd def % Determine depth beneath baseline
  616. PSL_usebox % Want to lay down box outline or fill
  617. {PSL_CT_clippath % Box path now current path
  618. PSL_fillbox % Want to paint box
  619. {V PSL_setboxrgb fill U} if
  620. PSL_drawbox % Want to draw outline of box
  621. {V PSL_setboxpen S U} if N
  622. } if
  623. PSL_CT_placeline psl_label PSL_gap_x PSL_just PSL_height psl_depth PSL_pathtext
  624. } def
  625. /PSL_CT_clippath
  626. { % Lays down a curved clipbox for one label
  627. /H PSL_height 2 div PSL_gap_y add def
  628. /xoff j 1 add array def
  629. /yoff j 1 add array def
  630. /angle 0 def % So it is at least a defined variable
  631. 0 1 j { % Loop over points along line to calculate angle and offsets
  632. /ii exch def % Index
  633. /x PSL_xp ii get def
  634. /y PSL_yp ii get def
  635. ii 0 eq { % Are we at the first point and hence must calculate angle using 0 and 1?
  636. /x1 PSL_xp 1 get def
  637. /y1 PSL_yp 1 get def
  638. /dx x1 x sub def
  639. /dy y1 y sub def
  640. }
  641. { /i1 ii 1 sub def % Previous point
  642. /x1 PSL_xp i1 get def
  643. /y1 PSL_yp i1 get def
  644. /dx x x1 sub def
  645. /dy y y1 sub def
  646. } ifelse
  647. dx 0.0 eq dy 0.0 eq and not
  648. { /angle dy dx atan 90 add def} if % Only calculate new angle if not duplicates
  649. /sina angle sin def
  650. /cosa angle cos def
  651. xoff ii H cosa mul put
  652. yoff ii H sina mul put
  653. } for
  654. % Lay down next clip segment
  655. PSL_xp 0 get xoff 0 get add PSL_yp 0 get yoff 0 get add M
  656. 1 1 j { % Loop over the rest of the upper line
  657. /ii exch def
  658. PSL_xp ii get xoff ii get add PSL_yp ii get yoff ii get add L
  659. } for
  660. j -1 0 { % Loop backwards over the rest of the lower line
  661. /ii exch def
  662. PSL_xp ii get xoff ii get sub PSL_yp ii get yoff ii get sub L
  663. } for P
  664. } def
  665. /PSL_CT_drawline
  666. {
  667. /str 20 string def
  668. % PSL_strokeline PSL_seg 0 eq and % If we asked to draw lines...
  669. PSL_strokeline % If we asked to draw lines...
  670. {PSL_CT_placeline S} if % Lay down the rest of the path and stroke it
  671. /PSL_seg PSL_seg 1 add def % Goto next segment number
  672. /n 1 def % Set n to 1
  673. } def
  674. /PSL_CT_placeline
  675. {PSL_xp 0 get PSL_yp 0 get M % Set the anchor point of the path
  676. 1 1 j { /ii exch def PSL_xp ii get PSL_yp ii get L} for % Lay down the rest of the path
  677. } def
  678. % Draw Baseline Text Segment Lines
  679. % PSL_draw_path_lines will draw the lines that have been stored in the concatenated
  680. % PSL_path_x and PSL_path_y arrays using the pen attributes in the PSL_path_pen array
  681. /PSL_draw_path_lines
  682. { % Draws the lines already stored in the PSL_path_x|y arrays
  683. /PSL_n_paths1 PSL_n_paths 1 sub def % One less is the upper limit in for loop over the paths
  684. V
  685. /psl_start 0 def % Start index of segment in concatenated path array
  686. 0 1 PSL_n_paths1 % Loop over all segments
  687. { /psl_k exch def % Index into the PSL arrays
  688. /PSL_n PSL_path_n psl_k get def % Get the number of points in this line segment
  689. /PSL_n1 PSL_n 1 sub def % One less is the upper limit in for loop over points
  690. PSL_path_pen psl_k get cvx exec % Get and set this line's pen
  691. N % Clean path
  692. PSL_path_x psl_start get PSL_path_y psl_start get M % Place anchor point of this segment
  693. 1 1 PSL_n1 % Loop over points in this segment
  694. { /psl_i exch def % Local index of next point in segment
  695. /psl_kk psl_i psl_start add def % Equivalent index in concatenated array of all segments
  696. PSL_path_x psl_kk get PSL_path_y psl_kk get L % Draw to next point
  697. } for
  698. /psl_xclose PSL_path_x psl_kk get PSL_path_x psl_start get sub def % Difference between first and last x coordinate
  699. /psl_yclose PSL_path_y psl_kk get PSL_path_y psl_start get sub def % Difference between first and last y coordinate
  700. psl_xclose 0 eq psl_yclose 0 eq and { P } if % Explicitly close the path
  701. S % Stroke this path
  702. /psl_start psl_start PSL_n add def % Go to next segment and update start index for path
  703. } for
  704. U
  705. } def
  706. % Straight Baseline Text Placement Functions
  707. % PSL_straight_path_labels deals with straight text labels w/wo textboxes (rect or rounded).
  708. % Only the (x,y) location of each label is needed.
  709. % Use <flags> PSL_straight_path_labels to paint|draw textboxes and place text
  710. % Use <flags> PSL_straight_path_clip to use textboxes to define and activate clipping
  711. % Subroutines of these functions are called PSL_ST_*
  712. % Local variables are called psl_*, global are called PSL_*
  713. /PSL_straight_path_labels
  714. { % This function will lay down (a) text box paint, (b) text box outline, and (c) text labels
  715. % All of these are optionals specified by the bit flag.
  716. /psl_bits exch def % Single bitflag argument passed
  717. /PSL_placetext psl_bits 2 and 2 eq def % true to place text, false to just make space
  718. /PSL_rounded psl_bits 32 and 32 eq def % true for rounded box shape, false gives rectangular box
  719. /PSL_fillbox psl_bits 128 and 128 eq def % true to paint box opaque before placing text
  720. /PSL_drawbox psl_bits 256 and 256 eq def % true to draw box outline before placing text
  721. /PSL_n_labels_minus_1 PSL_n_labels 1 sub def % Upper limit in loop over labels
  722. /PSL_usebox PSL_fillbox PSL_drawbox or def % true if we need box outline for fill or stroke or both
  723. 0 1 PSL_n_labels_minus_1 % Loop psl_k = 0 < PSL_n_labels
  724. { /psl_k exch def % Current label index psl_k
  725. PSL_ST_prepare_text % Get all dimensions, coordinates, etc. for this label
  726. PSL_usebox % If a text box is requested we go in here:
  727. { PSL_rounded % Place text box path, either straight or rounded, on stack
  728. {PSL_ST_textbox_round}
  729. {PSL_ST_textbox_rect}
  730. ifelse
  731. PSL_fillbox {V PSL_setboxrgb fill U} if % Paint it, if requested
  732. PSL_drawbox {V PSL_setboxpen S U} if % Outline it, if requested
  733. N % Done, so remove path
  734. } if
  735. PSL_placetext {PSL_ST_place_label} if % Show text, if requested
  736. } for
  737. } def
  738. /PSL_straight_path_clip
  739. { % This function will create a total clip path for all the labels in PSL_txt
  740. /psl_bits exch def % Single bit flag argument passed
  741. /PSL_rounded psl_bits 32 and 32 eq def % true for rounded box shape, false gives rectangular box
  742. /PSL_n_labels_minus_1 PSL_n_labels 1 sub def % Upper limit in loop over labels
  743. N clipsave clippath % Start clip path by selecting the entire mappable area
  744. 0 1 PSL_n_labels_minus_1 % Loop over all labels
  745. { /psl_k exch def % Current label index psl_k
  746. PSL_ST_prepare_text % Get all dimensions, coordinates, etc. for this label
  747. PSL_rounded % Get either straight or rounded text box path
  748. {PSL_ST_textbox_round}
  749. {PSL_ST_textbox_rect}
  750. ifelse
  751. } for
  752. PSL_eoclip N % Set the new clip path, increment clip counter and clear path
  753. } def
  754. /PSL_ST_prepare_text % Compute various dimensions and coordinates for one label
  755. { % The current label has index psl_k
  756. /psl_xp PSL_txt_x psl_k get def % Get text placement x coordinate
  757. /psl_yp PSL_txt_y psl_k get def % Get text placement y coordinate
  758. /psl_label PSL_label_str psl_k get def % Current text label
  759. PSL_label_font psl_k get cvx exec % Get and set this label's font attributes
  760. /PSL_height PSL_heights psl_k get def % Recall the height of this string
  761. /psl_boxH PSL_height PSL_gap_y 2 mul add def % Set height of current label including clearance
  762. /PSL_just PSL_label_justify psl_k get def % Get text justification (1-11)
  763. /PSL_justx PSL_just 4 mod 1 sub 2 div neg def % This is 0, -0.5, or -1 for relative x-shift
  764. /PSL_justy PSL_just 4 idiv 2 div neg def % This is 0, -0.5, or -1 for relative y-shift
  765. /psl_SW psl_label stringwidth pop def % Width of current label space
  766. /psl_boxW psl_SW PSL_gap_x 2 mul add def % Width of current label space including clearance
  767. /psl_x0 psl_SW PSL_justx mul def % (psl_x0,psl_y0) is rotated/adjusted text LL point on inside rectangle relative to psl_xp,psl_yp
  768. /psl_y0 PSL_justy PSL_height mul def %
  769. /psl_angle PSL_label_angle psl_k get def % The angle of text w.r.t. baseline
  770. } def
  771. /PSL_ST_textbox_rect % Compute and place rectangular path for current label
  772. {
  773. psl_xp psl_yp T psl_angle R psl_x0 psl_y0 T % Rotate the coordinate system to follow baseline text and make (psl_x0,psl_y0) the new origin
  774. PSL_gap_x neg PSL_gap_y neg M % Set LL anchor point for rectangular box
  775. 0 psl_boxH D psl_boxW 0 D 0 psl_boxH neg D P % Draw text box going CW
  776. psl_x0 neg psl_y0 neg T psl_angle neg R psl_xp neg psl_yp neg T % Unto trans/rot above
  777. } def
  778. /PSL_ST_textbox_round % Compute and place rounded rectangular path for current label
  779. {
  780. /psl_BoxR PSL_gap_x PSL_gap_y lt {PSL_gap_x} {PSL_gap_y} ifelse def % Smallest gap distance is our corner radius
  781. /psl_xd PSL_gap_x psl_BoxR sub def % When x_gap exceeds y_gap there will be an adjustment in x, else 0
  782. /psl_yd PSL_gap_y psl_BoxR sub def % When y_gap exceeds x_gap there will be an adjustment in y, else 0
  783. /psl_xL PSL_gap_x neg def % Left-most x coordinate of text box
  784. /psl_yB PSL_gap_y neg def % Bottom y coordinate of text box
  785. /psl_yT psl_boxH psl_yB add def % Top y coordinate of text box
  786. /psl_H2 PSL_height psl_yd 2 mul add def % Inner height when adjusting for any psl_yd offset
  787. /psl_W2 psl_SW psl_xd 2 mul add def % Inner width when adjusting for any psl_xd offset
  788. /psl_xR psl_xL psl_boxW add def % Right-most x coordinate of text box
  789. /psl_x0 psl_SW PSL_justx mul def % (psl_x0,psl_y0) is rotated/adjusted text LL point on inside rectangle relative to psl_xp,psl_yp
  790. psl_xp psl_yp T psl_angle R psl_x0 psl_y0 T % Rotate the coordinate system to follow baseline text and make (psl_x0,psl_y0) the new origin
  791. psl_xL psl_yd M % LL anchor point for rounded box is on lower left side just before rounded corner
  792. psl_xL psl_yT psl_xR psl_yT psl_BoxR arct psl_W2 0 D % Draw UL rounded corner and line to start of UR rounded corner
  793. psl_xR psl_yT psl_xR psl_yB psl_BoxR arct 0 psl_H2 neg D % Draw UR rounded corner and line to LR rounded corner
  794. psl_xR psl_yB psl_xL psl_yB psl_BoxR arct psl_W2 neg 0 D % Draw LR rounded corner and line to LL rounded corner
  795. psl_xL psl_yB psl_xL psl_yd psl_BoxR arct P % Draw LL rounded corner and close the clippath segment
  796. psl_x0 neg psl_y0 neg T psl_angle neg R psl_xp neg psl_yp neg T % Unto trans/rot above
  797. } def
  798. /PSL_ST_place_label % Just place the current label
  799. {
  800. V psl_xp psl_yp T psl_angle R % Set origin at text point and rotate the coordinate system to follow baseline text
  801. psl_SW PSL_justx mul psl_y0 M % Goto LL point on label
  802. psl_label dup sd neg 0 exch G show % Place the text, adjust vertically for any depth below baseline
  803. U % Undo damage to coordinate system
  804. } def
  805. /PSL_nclip 0 def % The depth of clipping in effect
  806. /PSL_clip {clip /PSL_nclip PSL_nclip 1 add def} def % Clip and update PSL_nclip
  807. /PSL_eoclip {eoclip /PSL_nclip PSL_nclip 1 add def} def % Even-odd clip and update PSL_nclip
  808. /PSL_cliprestore {cliprestore /PSL_nclip PSL_nclip 1 sub def} def % Cliprestore and update PSL_nclip
  809. %%EndProlog
  810. %%BeginSetup
  811. /PSLevel /languagelevel where {pop languagelevel} {1} ifelse def
  812. PSLevel 1 gt { << /WhiteIsOpaque true >> setpagedevice } if
  813. PSLevel 1 gt { << /PageSize [612 792] /ImagingBBox null >> setpagedevice } if
  814. %%EndSetup
  815. %%Page: 1 1
  816. %%BeginPageSetup
  817. %
  818. % Init coordinate system and scales
  819. %
  820. %
  821. % Scale initialized to 0.06, so 1 inch equals 1200 Postscript units
  822. %
  823. V 0.06 0.06 scale
  824. %%EndPageSetup
  825. %
  826. % End of PSL header
  827. %
  828. /PSL_page_xsize 10200 def
  829. /PSL_page_ysize 13200 def
  830. /PSL_plot_completion {} def
  831. /PSL_movie_label_completion {} def
  832. /PSL_movie_prog_indicator_completion {} def
  833. %PSL_End_Header
  834. gsave
  835. 0 A
  836. FQ
  837. O0
  838. % Set plot origin:
  839. -1200 PSL_xorig sub PSL_page_xsize 2 div add 2400 TM
  840. % PostScript produced by:
  841. %@GMT: gmt psxy -R0/10/1e0/1e2 -Jx0.20i/1.0il -Xc -Y2i -BneWS -Bxa5f -Bya1f3p data.txt -Wthick -Exy0i/thick -Sc.0001i -P -K
  842. %@PROJ: xy 0.00000000 10.00000000 1.00000000 100.00000000 0.000 10.000 0.000 2.000 +xy
  843. %GMTBoundingBox: -72 144 144 144
  844. %%BeginObject PSL_Layer_1
  845. 0 setlinecap
  846. 0 setlinejoin
  847. 3.32550952342 setmiterlimit
  848. 25 W
  849. %
  850. % Start of basemap
  851. %
  852. %
  853. % Map boundaries
  854. %
  855. /PSL_slant_y 0 def
  856. 2 setlinecap
  857. %
  858. % Start of left y-axis
  859. %
  860. %
  861. % Axis tick marks and annotations
  862. %
  863. N 0 2400 M 0 -2400 D S
  864. /PSL_A0_y 83 def
  865. /PSL_A1_y 0 def
  866. 8 W
  867. N 0 0 M -83 0 D S
  868. N 0 1200 M -83 0 D S
  869. N 0 2400 M -83 0 D S
  870. /MM {neg exch M} def
  871. /PSL_AH0 0
  872. PSL_font_encode 0 get 0 eq {ISOLatin1+_Encoding /Helvetica /Helvetica PSL_reencode PSL_font_encode 0 1 put} if % Set this font
  873. 200 F0
  874. V MU 0 0 M (10) FP 0 70 G 140 F0 (0) FP 0 -70 G pathbbox N pop exch pop add U mx
  875. V MU 0 0 M (10) FP 0 70 G 140 F0 (1) FP 0 -70 G pathbbox N pop exch pop add U mx
  876. V MU 0 0 M (10) FP 0 70 G 140 F0 (2) FP 0 -70 G pathbbox N pop exch pop add U mx
  877. def
  878. /PSL_A0_y PSL_A0_y 83 add def
  879. 0 PSL_A0_y MM
  880. V MU 0 0 M (10) FP 0 70 G 140 F0 (0) FP 0 -70 G pathbbox N 4 1 roll exch pop add exch U -2 div exch neg exch G
  881. (10) Z
  882. 0 70 G 140 F0 (0) Z
  883. 0 -70 G 1200 PSL_A0_y MM
  884. 200 F0
  885. V MU 0 0 M (10) FP 0 70 G 140 F0 (1) FP 0 -70 G pathbbox N 4 1 roll exch pop add exch U -2 div exch neg exch G
  886. (10) Z
  887. 0 70 G 140 F0 (1) Z
  888. 0 -70 G 2400 PSL_A0_y MM
  889. 200 F0
  890. V MU 0 0 M (10) FP 0 70 G 140 F0 (2) FP 0 -70 G pathbbox N 4 1 roll exch pop add exch U -2 div exch neg exch G
  891. (10) Z
  892. 0 70 G 140 F0 (2) Z
  893. 0 -70 G /PSL_A0_y PSL_A0_y PSL_AH0 add def
  894. N 0 361 M -42 0 D S
  895. N 0 573 M -42 0 D S
  896. N 0 722 M -42 0 D S
  897. N 0 839 M -42 0 D S
  898. N 0 934 M -42 0 D S
  899. N 0 1014 M -42 0 D S
  900. N 0 1084 M -42 0 D S
  901. N 0 1145 M -42 0 D S
  902. N 0 1561 M -42 0 D S
  903. N 0 1773 M -42 0 D S
  904. N 0 1922 M -42 0 D S
  905. N 0 2039 M -42 0 D S
  906. N 0 2134 M -42 0 D S
  907. N 0 2214 M -42 0 D S
  908. N 0 2284 M -42 0 D S
  909. N 0 2345 M -42 0 D S
  910. /PSL_LH 0 def /PSL_L_y PSL_A0_y PSL_A1_y mx def
  911. %
  912. % End of left y-axis
  913. %
  914. %
  915. % Start of right y-axis
  916. %
  917. 2400 0 T
  918. %
  919. % Axis tick marks and annotations
  920. %
  921. 25 W
  922. N 0 2400 M 0 -2400 D S
  923. /PSL_A0_y 83 def
  924. /PSL_A1_y 0 def
  925. 8 W
  926. N 0 0 M 83 0 D S
  927. N 0 1200 M 83 0 D S
  928. N 0 2400 M 83 0 D S
  929. N 0 361 M 42 0 D S
  930. N 0 573 M 42 0 D S
  931. N 0 722 M 42 0 D S
  932. N 0 839 M 42 0 D S
  933. N 0 934 M 42 0 D S
  934. N 0 1014 M 42 0 D S
  935. N 0 1084 M 42 0 D S
  936. N 0 1145 M 42 0 D S
  937. N 0 1561 M 42 0 D S
  938. N 0 1773 M 42 0 D S
  939. N 0 1922 M 42 0 D S
  940. N 0 2039 M 42 0 D S
  941. N 0 2134 M 42 0 D S
  942. N 0 2214 M 42 0 D S
  943. N 0 2284 M 42 0 D S
  944. N 0 2345 M 42 0 D S
  945. /PSL_LH 0 def /PSL_L_y PSL_A0_y PSL_A1_y mx def
  946. %
  947. % End of right y-axis
  948. %
  949. -2400 0 T
  950. %
  951. % Start of lower x-axis
  952. %
  953. %
  954. % Axis tick marks and annotations
  955. %
  956. 25 W
  957. N 0 0 M 2400 0 D S
  958. /PSL_A0_y 83 def
  959. /PSL_A1_y 0 def
  960. 8 W
  961. N 0 0 M 0 -83 D S
  962. N 1200 0 M 0 -83 D S
  963. N 2400 0 M 0 -83 D S
  964. /MM {neg M} def
  965. /PSL_AH0 0
  966. 200 F0
  967. (0) sh mx
  968. (5) sh mx
  969. (10) sh mx
  970. def
  971. /PSL_A0_y PSL_A0_y 83 add PSL_AH0 add def
  972. 0 PSL_A0_y MM
  973. (0) bc Z
  974. 1200 PSL_A0_y MM
  975. (5) bc Z
  976. 2400 PSL_A0_y MM
  977. (10) bc Z
  978. N 240 0 M 0 -42 D S
  979. N 480 0 M 0 -42 D S
  980. N 720 0 M 0 -42 D S
  981. N 960 0 M 0 -42 D S
  982. N 1440 0 M 0 -42 D S
  983. N 1680 0 M 0 -42 D S
  984. N 1920 0 M 0 -42 D S
  985. N 2160 0 M 0 -42 D S
  986. /PSL_LH 0 def /PSL_L_y PSL_A0_y PSL_A1_y mx def
  987. %
  988. % End of lower x-axis
  989. %
  990. %
  991. % Start of upper x-axis
  992. %
  993. 0 2400 T
  994. %
  995. % Axis tick marks and annotations
  996. %
  997. 25 W
  998. N 0 0 M 2400 0 D S
  999. /PSL_A0_y 83 def
  1000. /PSL_A1_y 0 def
  1001. 8 W
  1002. N 0 0 M 0 83 D S
  1003. N 1200 0 M 0 83 D S
  1004. N 2400 0 M 0 83 D S
  1005. N 240 0 M 0 42 D S
  1006. N 480 0 M 0 42 D S
  1007. N 720 0 M 0 42 D S
  1008. N 960 0 M 0 42 D S
  1009. N 1440 0 M 0 42 D S
  1010. N 1680 0 M 0 42 D S
  1011. N 1920 0 M 0 42 D S
  1012. N 2160 0 M 0 42 D S
  1013. /PSL_LH 0 def /PSL_L_y PSL_A0_y PSL_A1_y mx def
  1014. %
  1015. % End of upper x-axis
  1016. %
  1017. 0 -2400 T
  1018. 0 setlinecap
  1019. %
  1020. % End of basemap
  1021. %
  1022. %
  1023. % Activate Map clip path
  1024. %
  1025. %
  1026. % Start of polygon clip path
  1027. %
  1028. clipsave
  1029. 0 0 M
  1030. 2400 0 D
  1031. 0 2400 D
  1032. -2400 0 D
  1033. P
  1034. PSL_clip N
  1035. %
  1036. % End of polygon clip path. Polygon clipping is currently ON
  1037. %
  1038. 17 W
  1039. V
  1040. N 120 2495 M 240 0 D S
  1041. N 240 2284 M 0 361 D S
  1042. O1
  1043. 0 240 2495 Sc
  1044. N 360 2039 M 240 0 D S
  1045. N 480 1561 M 0 723 D S
  1046. 0 480 2039 Sc
  1047. N 600 1561 M 240 0 D S
  1048. N 720 1200 M 0 573 D S
  1049. 0 720 1561 Sc
  1050. N 840 839 M 240 0 D S
  1051. N 960 361 M 0 723 D S
  1052. 0 960 839 Sc
  1053. N 1080 361 M 240 0 D S
  1054. N 1200 0 M 0 722 D S
  1055. 0 1200 361 Sc
  1056. N 1320 95 M 240 0 D S
  1057. N 1440 -839 M 0 1250 D S
  1058. 0 1440 95 Sc
  1059. N 1560 -116 M 240 0 D S
  1060. N 1680 -116 M 0 422 D S
  1061. 0 1680 -116 Sc
  1062. N 1800 -627 M 240 0 D S
  1063. N 1920 -627 M 0 764 D S
  1064. 0 1920 -627 Sc
  1065. U
  1066. %
  1067. % Deactivate Map clip path
  1068. %
  1069. PSL_cliprestore
  1070. %
  1071. % Clipping reduced by 1 level
  1072. %
  1073. %%EndObject
  1074. 0 A
  1075. FQ
  1076. O0
  1077. % Set plot origin:
  1078. 0 4800 TM
  1079. % PostScript produced by:
  1080. %@GMT: gmt psxy -R0/10/1e0/1e2 -Jx0.20i/1.0il -Y4i -BneWS -Bxa5f -Bya1f3p data.txt -Wthick -Exy0i/thick -Sc.0001i -N -O
  1081. %@PROJ: xy 0.00000000 10.00000000 1.00000000 100.00000000 0.000 10.000 0.000 2.000 +xy
  1082. %%BeginObject PSL_Layer_2
  1083. 0 setlinecap
  1084. 0 setlinejoin
  1085. 3.32550952342 setmiterlimit
  1086. 25 W
  1087. %
  1088. % Start of basemap
  1089. %
  1090. %
  1091. % Map boundaries
  1092. %
  1093. /PSL_slant_y 0 def
  1094. 2 setlinecap
  1095. %
  1096. % Start of left y-axis
  1097. %
  1098. %
  1099. % Axis tick marks and annotations
  1100. %
  1101. N 0 2400 M 0 -2400 D S
  1102. /PSL_A0_y 83 def
  1103. /PSL_A1_y 0 def
  1104. 8 W
  1105. N 0 0 M -83 0 D S
  1106. N 0 1200 M -83 0 D S
  1107. N 0 2400 M -83 0 D S
  1108. /MM {neg exch M} def
  1109. /PSL_AH0 0
  1110. PSL_font_encode 0 get 0 eq {ISOLatin1+_Encoding /Helvetica /Helvetica PSL_reencode PSL_font_encode 0 1 put} if % Set this font
  1111. 200 F0
  1112. V MU 0 0 M (10) FP 0 70 G 140 F0 (0) FP 0 -70 G pathbbox N pop exch pop add U mx
  1113. V MU 0 0 M (10) FP 0 70 G 140 F0 (1) FP 0 -70 G pathbbox N pop exch pop add U mx
  1114. V MU 0 0 M (10) FP 0 70 G 140 F0 (2) FP 0 -70 G pathbbox N pop exch pop add U mx
  1115. def
  1116. /PSL_A0_y PSL_A0_y 83 add def
  1117. 0 PSL_A0_y MM
  1118. V MU 0 0 M (10) FP 0 70 G 140 F0 (0) FP 0 -70 G pathbbox N 4 1 roll exch pop add exch U -2 div exch neg exch G
  1119. (10) Z
  1120. 0 70 G 140 F0 (0) Z
  1121. 0 -70 G 1200 PSL_A0_y MM
  1122. 200 F0
  1123. V MU 0 0 M (10) FP 0 70 G 140 F0 (1) FP 0 -70 G pathbbox N 4 1 roll exch pop add exch U -2 div exch neg exch G
  1124. (10) Z
  1125. 0 70 G 140 F0 (1) Z
  1126. 0 -70 G 2400 PSL_A0_y MM
  1127. 200 F0
  1128. V MU 0 0 M (10) FP 0 70 G 140 F0 (2) FP 0 -70 G pathbbox N 4 1 roll exch pop add exch U -2 div exch neg exch G
  1129. (10) Z
  1130. 0 70 G 140 F0 (2) Z
  1131. 0 -70 G /PSL_A0_y PSL_A0_y PSL_AH0 add def
  1132. N 0 361 M -42 0 D S
  1133. N 0 573 M -42 0 D S
  1134. N 0 722 M -42 0 D S
  1135. N 0 839 M -42 0 D S
  1136. N 0 934 M -42 0 D S
  1137. N 0 1014 M -42 0 D S
  1138. N 0 1084 M -42 0 D S
  1139. N 0 1145 M -42 0 D S
  1140. N 0 1561 M -42 0 D S
  1141. N 0 1773 M -42 0 D S
  1142. N 0 1922 M -42 0 D S
  1143. N 0 2039 M -42 0 D S
  1144. N 0 2134 M -42 0 D S
  1145. N 0 2214 M -42 0 D S
  1146. N 0 2284 M -42 0 D S
  1147. N 0 2345 M -42 0 D S
  1148. /PSL_LH 0 def /PSL_L_y PSL_A0_y PSL_A1_y mx def
  1149. %
  1150. % End of left y-axis
  1151. %
  1152. %
  1153. % Start of right y-axis
  1154. %
  1155. 2400 0 T
  1156. %
  1157. % Axis tick marks and annotations
  1158. %
  1159. 25 W
  1160. N 0 2400 M 0 -2400 D S
  1161. /PSL_A0_y 83 def
  1162. /PSL_A1_y 0 def
  1163. 8 W
  1164. N 0 0 M 83 0 D S
  1165. N 0 1200 M 83 0 D S
  1166. N 0 2400 M 83 0 D S
  1167. N 0 361 M 42 0 D S
  1168. N 0 573 M 42 0 D S
  1169. N 0 722 M 42 0 D S
  1170. N 0 839 M 42 0 D S
  1171. N 0 934 M 42 0 D S
  1172. N 0 1014 M 42 0 D S
  1173. N 0 1084 M 42 0 D S
  1174. N 0 1145 M 42 0 D S
  1175. N 0 1561 M 42 0 D S
  1176. N 0 1773 M 42 0 D S
  1177. N 0 1922 M 42 0 D S
  1178. N 0 2039 M 42 0 D S
  1179. N 0 2134 M 42 0 D S
  1180. N 0 2214 M 42 0 D S
  1181. N 0 2284 M 42 0 D S
  1182. N 0 2345 M 42 0 D S
  1183. /PSL_LH 0 def /PSL_L_y PSL_A0_y PSL_A1_y mx def
  1184. %
  1185. % End of right y-axis
  1186. %
  1187. -2400 0 T
  1188. %
  1189. % Start of lower x-axis
  1190. %
  1191. %
  1192. % Axis tick marks and annotations
  1193. %
  1194. 25 W
  1195. N 0 0 M 2400 0 D S
  1196. /PSL_A0_y 83 def
  1197. /PSL_A1_y 0 def
  1198. 8 W
  1199. N 0 0 M 0 -83 D S
  1200. N 1200 0 M 0 -83 D S
  1201. N 2400 0 M 0 -83 D S
  1202. /MM {neg M} def
  1203. /PSL_AH0 0
  1204. 200 F0
  1205. (0) sh mx
  1206. (5) sh mx
  1207. (10) sh mx
  1208. def
  1209. /PSL_A0_y PSL_A0_y 83 add PSL_AH0 add def
  1210. 0 PSL_A0_y MM
  1211. (0) bc Z
  1212. 1200 PSL_A0_y MM
  1213. (5) bc Z
  1214. 2400 PSL_A0_y MM
  1215. (10) bc Z
  1216. N 240 0 M 0 -42 D S
  1217. N 480 0 M 0 -42 D S
  1218. N 720 0 M 0 -42 D S
  1219. N 960 0 M 0 -42 D S
  1220. N 1440 0 M 0 -42 D S
  1221. N 1680 0 M 0 -42 D S
  1222. N 1920 0 M 0 -42 D S
  1223. N 2160 0 M 0 -42 D S
  1224. /PSL_LH 0 def /PSL_L_y PSL_A0_y PSL_A1_y mx def
  1225. %
  1226. % End of lower x-axis
  1227. %
  1228. %
  1229. % Start of upper x-axis
  1230. %
  1231. 0 2400 T
  1232. %
  1233. % Axis tick marks and annotations
  1234. %
  1235. 25 W
  1236. N 0 0 M 2400 0 D S
  1237. /PSL_A0_y 83 def
  1238. /PSL_A1_y 0 def
  1239. 8 W
  1240. N 0 0 M 0 83 D S
  1241. N 1200 0 M 0 83 D S
  1242. N 2400 0 M 0 83 D S
  1243. N 240 0 M 0 42 D S
  1244. N 480 0 M 0 42 D S
  1245. N 720 0 M 0 42 D S
  1246. N 960 0 M 0 42 D S
  1247. N 1440 0 M 0 42 D S
  1248. N 1680 0 M 0 42 D S
  1249. N 1920 0 M 0 42 D S
  1250. N 2160 0 M 0 42 D S
  1251. /PSL_LH 0 def /PSL_L_y PSL_A0_y PSL_A1_y mx def
  1252. %
  1253. % End of upper x-axis
  1254. %
  1255. 0 -2400 T
  1256. 0 setlinecap
  1257. %
  1258. % End of basemap
  1259. %
  1260. 17 W
  1261. V
  1262. N 120 2495 M 240 0 D S
  1263. N 240 2284 M 0 361 D S
  1264. O1
  1265. 0 240 2495 Sc
  1266. N 360 2039 M 240 0 D S
  1267. N 480 1561 M 0 723 D S
  1268. 0 480 2039 Sc
  1269. N 600 1561 M 240 0 D S
  1270. N 720 1200 M 0 573 D S
  1271. 0 720 1561 Sc
  1272. N 840 839 M 240 0 D S
  1273. N 960 361 M 0 723 D S
  1274. 0 960 839 Sc
  1275. N 1080 361 M 240 0 D S
  1276. N 1200 0 M 0 722 D S
  1277. 0 1200 361 Sc
  1278. N 1320 95 M 240 0 D S
  1279. N 1440 -839 M 0 1250 D S
  1280. 0 1440 95 Sc
  1281. N 1560 -116 M 240 0 D S
  1282. N 1680 -116 M 0 422 D S
  1283. 0 1680 -116 Sc
  1284. N 1800 -627 M 240 0 D S
  1285. N 1920 -627 M 0 764 D S
  1286. 0 1920 -627 Sc
  1287. U
  1288. %%EndObject
  1289. grestore
  1290. %
  1291. % Run PSL movie label completion function, if defined
  1292. %
  1293. PSL_movie_label_completion /PSL_movie_label_completion {} def
  1294. %
  1295. % Run PSL movie progress indicator completion function, if defined
  1296. %
  1297. PSL_movie_prog_indicator_completion /PSL_movie_prog_indicator_completion {} def
  1298. %PSL_Begin_Trailer
  1299. %%PageTrailer
  1300. %
  1301. % Reset transformations and call showpage
  1302. %
  1303. U
  1304. showpage
  1305. %%Trailer
  1306. end
  1307. %%EOF
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...