-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinp.txt.ps
471 lines (395 loc) · 8.32 KB
/
inp.txt.ps
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
%!PS-Adobe-3.0 EPSF-2.0
%%BoundingBox: 0 0 612 792
%% Created by boxplot_ng, mfold 3.6
%% Mon Nov 13 18:36:15 2023
%%
%%
1.000000 1.000000 scale
%%
%% To change image size ....
%% For full size image Use Bound ngBox:0 0 612 792
%% and 1.0 1.0 scale
%% For image .25 of full size, replace 612 with .25*612
%% replace 792 with .25*792 and replace
%% 1.0 with .25: Other scales are similar.
%% Valid scales are .05 to 1.00
%% ONLY scale and Bound ngBox lines above should be changed.
%%
%% Set colors
%% 0 is for text, 1 is optimal dots
%% 2 is almost optimal dots, 3-8 higher energy dots
%% 9 is Labels, 10 is background, 11 is grid lines
%% OP is for lower triangle
%% original colors from boxplot.col
/color_0 { 0.000 0.000 0.150 setrgbcolor} def
/color_1 { 0.000 0.000 0.000 setrgbcolor} def
/color_2 { 0.950 0.000 0.000 setrgbcolor} def
/color_3 { 0.000 0.850 0.000 setrgbcolor} def
/color_4 { 0.750 0.750 0.000 setrgbcolor} def
/color_5 { 0.800 0.000 0.800 setrgbcolor} def
/color_6 { 0.200 0.600 0.800 setrgbcolor} def
/color_7 { 0.650 0.500 0.200 setrgbcolor} def
/color_8 { 0.900 0.700 0.700 setrgbcolor} def
/color_9 { 0.000 0.000 0.800 setrgbcolor} def
/color_10 { 0.990 0.990 0.990 setrgbcolor} def
/color_11 { 0.650 0.650 0.650 setrgbcolor} def
/color_12 { 0.100 0.100 0.300 setrgbcolor} def
/color_OP { 0.000 0.000 0.000 setrgbcolor} def
/len { 12 } def
/ISOLatin1Encoding where {pop save true}{false} ifelse
/reencodeISO {
dup length dict begin
{1 index /FID ne {def}{pop pop} ifelse} forall
/Encoding ISOLatin1Encoding def
currentdict
end
} def
/findISO {
dup /FontType known {
dup /FontType get 3 ne {
dup /CharStrings known {
dup /CharStrings get /Thorn known {
true
}{ false } ifelse
}{ false } ifelse
}{ false } ifelse
}{ false } ifelse
} def
/delta { /Symbol findfont findISO { reencodeISO /Symbol-ISO exch definefont
sf scalefont setfont }
{ sf scalefont setfont } ifelse
(d) show } def
%% Define dots
%% Dot shape and Size definitions
%% s1 is Optimal, s2 next to optimal through s7
%% sbox is for labels
%% Change si below to adjust size of dots
%% 1.0 is maximum size without overlapping dots
%% sl is for labels
%% s1 = 2.0 doubles size of optimal dots, b1
%% s2 = 2.0 doubles size of near optimal dots dots, b2
%% Use 0.0259 to make dots 1/72 inch or 1 point
%% Ignore Si,NSi,len
/s1 { 1.0000 } def
/s2 { 1.0000 } def
/s3 { 1.0000 } def
/s4 { 1.0000 } def
/S1 {.50 s1 mul } def
/NS1 {-1.0 S1 mul } def
/S2 {.50 s2 mul } def
/NS2 {-1.0 S2 mul } def
/S3 {.50 s3 mul } def
/NS3 {-1.0 S3 mul } def
/S4 {.50 s4 mul } def
/NS4 {-1.0 S4 mul } def
/b1 {
exch len exch sub 1 add
moveto
S1 S1 rlineto
NS1 0 rlineto
NS1 NS1 rlineto
0 NS1 rlineto
S1 0 rlineto
S1 S1 rlineto
0 S1 rlineto
closepath
fill
stroke
}def
/b2 {
exch len exch sub 1 add
moveto
S2 S2 rlineto
NS2 0 rlineto
NS2 NS2 rlineto
0 NS2 rlineto
S2 0 rlineto
S2 S2 rlineto
0 S2 rlineto
closepath
fill
stroke
}def
/b3 {
exch len exch sub 1 add
moveto
S3 S3 rlineto
NS3 0 rlineto
NS3 NS3 rlineto
0 NS3 rlineto
S3 0 rlineto
S3 S3 rlineto
0 S3 rlineto
closepath
fill
stroke
}def
/b4 {
exch len exch sub 1 add
moveto
S4 S4 rlineto
NS4 0 rlineto
NS4 NS4 rlineto
0 NS4 rlineto
S4 0 rlineto
S4 S4 rlineto
0 S4 rlineto
closepath
fill
stroke
}def
%% Set background color
color_10
0 0 moveto
611 0 rlineto
0 791 rlineto
-611 0 rlineto
0 -791 rlineto
closepath
fill
%% Draw Text
color_0
/ISOLatin1Encoding where {pop save true}{false} ifelse
/reencodeISO {
dup length dict begin
{1 index /FID ne {def}{pop pop} ifelse} forall
/Encoding ISOLatin1Encoding def
currentdict
end
} def
/findISO {
dup /FontType known {
dup /FontType get 3 ne {
dup /CharStrings known {
dup /CharStrings get /Thorn known {
true
}{ false } ifelse
}{ false } ifelse
}{ false } ifelse
}{ false } ifelse
} def
/delta { /Symbol findfont findISO { reencodeISO /Symbol-ISO exch definefont
sf scalefont setfont }
{ sf scalefont setfont } ifelse
(d) show } def
/sf 7.5 def
/Helvetica findfont findISO { reencodeISO /Symbol-ISO exch definefont
sf scalefont setfont }
{ sf scalefont setfont } ifelse
15 776.000000 moveto (Output of boxplot_ng (©)) show
15 765.000000 moveto (mfold 3.6) show
473.250000 776.000000 moveto (Created Mon Nov 13 18:36:15 2023) show
/sf 20 def
/Helvetica findfont findISO { reencodeISO /Symbol-ISO exch definefont
sf scalefont setfont }
{ sf scalefont setfont } ifelse
196.625000 720 moveto
(Fold of inp.txt at 37° C) show
/Helvetica findfont
10 scalefont
setfont
color_OP
30 90 moveto
(Lower Triangle: Optimal Energy) show
color_0
/sf 10 def
130 690 moveto
delta
/Helvetica findfont
10 scalefont
setfont
(G in Plot File = 0.3 kcal/mol) show
color_1
340 90 moveto
( Optimal Energy = -2.3 kcal/mol ) show
color_2
340 80 moveto
( -2.3 < Energy <= -2.2 kcal/mol ) show
color_3
340 70 moveto
( -2.2 < Energy <= -2.1 kcal/mol ) show
color_4
340 60 moveto
( -2.1 < Energy <= -2.0 kcal/mol ) show
color_0
25 100 translate
%% Draw Tic Marks
0.05 setlinewidth
38.571430 1. scale
0.010370 setlinewidth
13 541 moveto
0 8 rlineto
13 550 moveto
0.025926 1. scale
-6 0 rmoveto
(12) show
38.571430 1. scale
0.010370 setlinewidth
2 541 moveto
0 8 rlineto
2 550 moveto
0.025926 1. scale
-6 0 rmoveto
(1) show
38.571430 1. scale
0.010370 setlinewidth
4 541 moveto
0 8 rlineto
stroke
color_11
4 539 moveto
0 -501.428593 rlineto
stroke
color_0
4 550 moveto
0.025926 1. scale
-6 0 rmoveto
(3) show
38.571430 1. scale
0.010370 setlinewidth
6 541 moveto
0 8 rlineto
stroke
color_11
6 539 moveto
0 -501.428593 rlineto
stroke
color_0
6 550 moveto
0.025926 1. scale
-6 0 rmoveto
(5) show
38.571430 1. scale
0.010370 setlinewidth
8 541 moveto
0 8 rlineto
stroke
color_11
8 539 moveto
0 -501.428593 rlineto
stroke
color_0
8 550 moveto
0.025926 1. scale
-6 0 rmoveto
(7) show
38.571430 1. scale
0.010370 setlinewidth
10 541 moveto
0 8 rlineto
stroke
color_11
10 539 moveto
0 -501.428593 rlineto
stroke
color_0
10 550 moveto
0.025926 1. scale
-6 0 rmoveto
(9) show
1.0 38.571430 scale
0.010370 setlinewidth
541.5 13 moveto
8 0 rlineto
550.5 13 moveto
1.0 0.025926 scale
(1) show
1.0 38.571430 scale
0.010370 setlinewidth
541.5 2 moveto
8 0 rlineto
550.5 2 moveto
1.0 0.025926 scale
(12) show
1.0 38.571430 scale
0.010370 setlinewidth
541.5 11 moveto
8 0 rlineto
stroke
color_11
539.5 11 moveto
-501.428593 0 rlineto
stroke
color_0
550.5 11 moveto
1.0 0.025926 scale
(3) show
1.0 38.571430 scale
0.010370 setlinewidth
541.5 9 moveto
8 0 rlineto
stroke
color_11
539.5 9 moveto
-501.428593 0 rlineto
stroke
color_0
550.5 9 moveto
1.0 0.025926 scale
(5) show
1.0 38.571430 scale
0.010370 setlinewidth
541.5 7 moveto
8 0 rlineto
stroke
color_11
539.5 7 moveto
-501.428593 0 rlineto
stroke
color_0
550.5 7 moveto
1.0 0.025926 scale
(7) show
1.0 38.571430 scale
0.010370 setlinewidth
541.5 5 moveto
8 0 rlineto
stroke
color_11
539.5 5 moveto
-501.428593 0 rlineto
stroke
color_0
550.5 5 moveto
1.0 0.025926 scale
(9) show
.7 setlinewidth
color_0
38.571430 38.571430 scale
0.018148 setlinewidth
%% Draw diagonal line
0.974074 14.025926 moveto
14.025926 0.974074 lineto stroke
14.025926 0.974074 moveto
0.974074 0.974074 lineto
0.974074 14.025926 lineto
14.025926 14.025926 lineto
14.025926 0.974074 lineto closepath stroke
%% Draw DOTS
color_4
4 10 b4
color_3
color_2
color_1
1 13 b1
color_OP
11 3 b1
color_1
2 12 b1
color_OP
10 4 b1
color_1
3 11 b1
color_OP
9 5 b1
color_1
color_0
0.025926 0.025926 scale
-25 -100 translate
27 78 moveto
/Helvetica findfont
10 scalefont
setfont
( Upper Triangle Base Pairs Plotted: 4 ) show
showpage
%%EOF