home *** CD-ROM | disk | FTP | other *** search
Unknown | 1996-02-19 | 10.4 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
| |
100%
| xdgMime
| image/x-tga
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0d 00 0a 0d f4 20 3e 20 | 47 72 61 70 68 0d 00 14 |..... > |Graph...|
|00000010| 04 0d 00 1e 13 ee 20 85 | 20 f6 20 3a 20 f1 20 9e |...... .| . : . .|
|00000020| 20 3a 20 e0 0d 00 28 04 | 0d 00 32 25 f4 20 41 20 | : ...(.|..2%. A |
|00000030| 73 69 6d 70 6c 65 20 67 | 72 61 70 68 2d 64 72 61 |simple g|raph-dra|
|00000040| 77 69 6e 67 20 70 72 6f | 67 72 61 6d 2e 0d 00 3c |wing pro|gram...<|
|00000050| 04 0d 00 46 36 f4 20 55 | 6e 69 74 73 20 75 73 65 |...F6. U|nits use|
|00000060| 64 20 76 61 72 79 20 74 | 68 72 6f 75 67 68 20 74 |d vary t|hrough t|
|00000070| 68 65 20 70 72 6f 67 72 | 61 6d 20 28 65 73 73 65 |he progr|am (esse|
|00000080| 6e 74 69 61 6c 6c 79 0d | 00 50 35 f4 20 70 6c 6f |ntially.|.P5. plo|
|00000090| 74 20 75 6e 69 74 73 20 | 2d 3e 20 6d 6d 20 2d 3e |t units |-> mm ->|
|000000a0| 20 64 72 61 77 20 75 6e | 69 74 73 29 2e 20 6d 6d | draw un|its). mm|
|000000b0| 20 63 6f 6f 72 64 69 6e | 61 74 65 73 0d 00 5a 31 | coordin|ates..Z1|
|000000c0| f4 20 61 72 65 20 72 65 | 6c 61 74 69 76 65 20 74 |. are re|lative t|
|000000d0| 6f 20 62 6f 74 74 6f 6d | 2d 6c 65 66 74 20 63 6f |o bottom|-left co|
|000000e0| 72 6e 65 72 20 6f 66 20 | 70 61 67 65 2e 0d 00 64 |rner of |page...d|
|000000f0| 04 0d 00 6e 32 f4 20 43 | 61 6c 6c 73 20 74 6f 20 |...n2. C|alls to |
|00000100| 74 68 65 20 44 72 61 77 | 55 74 69 6c 73 42 20 6d |the Draw|UtilsB m|
|00000110| 6f 64 75 6c 65 20 61 72 | 65 20 6d 61 64 65 20 66 |odule ar|e made f|
|00000120| 72 6f 6d 0d 00 78 37 f4 | 20 70 72 6f 63 65 64 75 |rom..x7.| procedu|
|00000130| 72 65 73 20 61 74 20 74 | 68 65 20 65 6e 64 20 6f |res at t|he end o|
|00000140| 66 20 74 68 65 20 70 72 | 6f 67 72 61 6d 3a 20 74 |f the pr|ogram: t|
|00000150| 68 65 73 65 20 63 6f 75 | 6c 64 0d 00 82 3a f4 20 |hese cou|ld...:. |
|00000160| 68 61 6e 64 6c 65 20 74 | 68 65 20 62 75 66 66 65 |handle t|he buffe|
|00000170| 72 20 26 20 6d 65 6d 6f | 72 79 20 61 6c 6c 6f 63 |r & memo|ry alloc|
|00000180| 61 74 69 6f 6e 2c 20 66 | 72 65 65 20 70 6f 73 69 |ation, f|ree posi|
|00000190| 74 69 6f 6e 0d 00 8c 33 | f4 20 6f 66 66 73 65 74 |tion...3|. offset|
|000001a0| 2c 20 75 6e 69 74 20 63 | 6f 6e 76 65 72 73 69 6f |, unit c|onversio|
|000001b0| 6e 73 2c 20 65 72 72 6f | 72 20 74 72 61 70 70 69 |ns, erro|r trappi|
|000001c0| 6e 67 20 65 74 63 2e 0d | 00 96 04 0d 00 a0 1c 64 |ng etc..|.......d|
|000001d0| 66 5f 62 75 66 66 5f 73 | 69 7a 65 25 20 3d 20 28 |f_buff_s|ize% = (|
|000001e0| 33 32 3c 3c 31 30 29 0d | 00 aa 2f de 20 64 66 5f |32<<10).|../. df_|
|000001f0| 62 75 66 66 25 20 28 64 | 66 5f 62 75 66 66 5f 73 |buff% (d|f_buff_s|
|00000200| 69 7a 65 25 29 2c 20 74 | 65 6d 70 5f 62 75 66 66 |ize%), t|emp_buff|
|00000210| 25 20 31 30 32 33 0d 00 | b4 0c 66 70 6f 25 20 3d |% 1023..|..fpo% =|
|00000220| 20 30 0d 00 be 04 0d 00 | c8 2e 70 6c 6f 74 5f 61 | 0......|..plot_a|
|00000230| 72 65 61 5f 78 6d 69 6e | 25 20 3d 20 20 33 30 20 |rea_xmin|% = 30 |
|00000240| 3a 20 f4 20 41 63 74 75 | 61 6c 20 70 6c 6f 74 20 |: . Actu|al plot |
|00000250| 61 72 65 61 0d 00 d2 29 | 70 6c 6f 74 5f 61 72 65 |area...)|plot_are|
|00000260| 61 5f 78 6d 61 78 25 20 | 3d 20 31 35 30 20 3a 20 |a_xmax% |= 150 : |
|00000270| f4 20 73 69 7a 65 20 69 | 6e 20 6d 6d 2e 0d 00 dc |. size i|n mm....|
|00000280| 2c 70 6c 6f 74 5f 61 72 | 65 61 5f 79 6d 69 6e 25 |,plot_ar|ea_ymin%|
|00000290| 20 3d 20 20 33 30 20 3a | 20 f4 20 41 78 65 73 20 | = 30 :| . Axes |
|000002a0| 61 72 65 20 64 72 61 77 | 6e 0d 00 e6 30 70 6c 6f |are draw|n...0plo|
|000002b0| 74 5f 61 72 65 61 5f 79 | 6d 61 78 25 20 3d 20 31 |t_area_y|max% = 1|
|000002c0| 33 30 20 3a 20 f4 20 6f | 75 74 73 69 64 65 20 74 |30 : . o|utside t|
|000002d0| 68 69 73 20 61 72 65 61 | 2e 0d 00 f0 04 0d 00 fa |his area|........|
|000002e0| 36 63 61 6c 5f 78 6d 69 | 6e 20 20 20 20 20 20 20 |6cal_xmi|n |
|000002f0| 20 3d 20 20 20 30 2e 30 | 20 20 20 20 20 20 20 3a | = 0.0| :|
|00000300| 20 f4 20 53 63 61 6c 65 | 20 76 61 6c 75 65 73 20 | . Scale| values |
|00000310| 65 74 63 0d 01 04 43 63 | 61 6c 5f 78 6d 61 78 20 |etc...Cc|al_xmax |
|00000320| 20 20 20 20 20 20 20 3d | 20 33 36 30 2e 30 20 20 | =| 360.0 |
|00000330| 20 20 20 20 20 3a 20 f4 | 20 66 6f 72 20 78 20 61 | : .| for x a|
|00000340| 78 69 73 20 28 69 6e 20 | 27 70 6c 6f 74 20 75 6e |xis (in |'plot un|
|00000350| 69 74 73 27 29 2e 0d 01 | 0e 3b 63 61 6c 5f 78 73 |its')...|.;cal_xs|
|00000360| 74 65 70 20 20 20 20 20 | 20 20 3d 20 20 36 30 2e |tep | = 60.|
|00000370| 30 20 20 20 20 20 20 20 | 3a 20 f4 20 53 74 65 70 |0 |: . Step|
|00000380| 20 66 6f 72 20 63 61 6c | 69 62 72 61 74 69 6f 6e | for cal|ibration|
|00000390| 2e 0d 01 18 38 63 61 6c | 5f 67 72 69 64 5f 78 73 |....8cal|_grid_xs|
|000003a0| 74 65 70 20 20 3d 20 20 | 31 30 2e 30 20 20 20 20 |tep = |10.0 |
|000003b0| 20 20 20 3a 20 f4 20 55 | 73 65 20 30 20 66 6f 72 | : . U|se 0 for|
|000003c0| 20 6e 6f 20 67 72 69 64 | 2e 0d 01 22 3a 63 61 6c | no grid|...":cal|
|000003d0| 5f 6e 75 6d 5f 78 66 6f | 72 6d 61 74 20 3d 20 26 |_num_xfo|rmat = &|
|000003e0| 30 31 30 30 30 30 30 35 | 20 20 20 3a 20 f4 20 54 |01000005| : . T|
|000003f0| 68 69 73 20 69 73 20 40 | 25 20 76 61 72 69 61 62 |his is @|% variab|
|00000400| 6c 65 2e 0d 01 2c 37 63 | 61 6c 5f 78 6c 61 62 65 |le...,7c|al_xlabe|
|00000410| 6c 24 20 20 20 20 20 3d | 20 22 41 6e 67 6c 65 20 |l$ =| "Angle |
|00000420| 28 b0 29 22 20 3a 20 f4 | 20 4c 61 62 65 6c 20 66 |(.)" : .| Label f|
|00000430| 6f 72 20 78 20 61 78 69 | 73 2e 0d 01 36 04 0d 01 |or x axi|s...6...|
|00000440| 40 32 63 61 6c 5f 79 6d | 69 6e 20 20 20 20 20 20 |@2cal_ym|in |
|00000450| 20 20 3d 20 20 2d 31 2e | 30 20 20 20 20 20 20 20 | = -1.|0 |
|00000460| 3a 20 f4 20 41 73 20 61 | 62 6f 76 65 20 62 75 74 |: . As a|bove but|
|00000470| 0d 01 4a 31 63 61 6c 5f | 79 6d 61 78 20 20 20 20 |..J1cal_|ymax |
|00000480| 20 20 20 20 3d 20 20 20 | 31 2e 30 20 20 20 20 20 | = |1.0 |
|00000490| 20 20 3a 20 f4 20 66 6f | 72 20 79 20 61 78 69 73 | : . fo|r y axis|
|000004a0| 2e 0d 01 54 1b 63 61 6c | 5f 79 73 74 65 70 20 20 |...T.cal|_ystep |
|000004b0| 20 20 20 20 20 3d 20 20 | 20 30 2e 35 0d 01 5e 1b | = | 0.5..^.|
|000004c0| 63 61 6c 5f 67 72 69 64 | 5f 79 73 74 65 70 20 20 |cal_grid|_ystep |
|000004d0| 3d 20 20 20 30 2e 31 0d | 01 68 1f 63 61 6c 5f 6e |= 0.1.|.h.cal_n|
|000004e0| 75 6d 5f 79 66 6f 72 6d | 61 74 20 3d 20 26 30 31 |um_yform|at = &01|
|000004f0| 30 32 30 31 30 35 0d 01 | 72 22 63 61 6c 5f 79 6c |020105..|r"cal_yl|
|00000500| 61 62 65 6c 24 20 20 20 | 20 20 3d 20 22 53 69 6e |abel$ | = "Sin|
|00000510| 28 41 6e 67 6c 65 29 22 | 0d 01 7c 04 0d 01 86 34 |(Angle)"|..|....4|
|00000520| f4 20 46 6f 6e 74 73 20 | 66 6f 72 20 63 61 6c 69 |. Fonts |for cali|
|00000530| 62 72 61 74 69 6e 67 20 | 61 6e 64 20 6c 61 62 65 |brating |and labe|
|00000540| 6c 6c 69 6e 67 20 61 78 | 65 73 2e 20 54 68 69 73 |lling ax|es. This|
|00000550| 0d 01 90 32 f4 20 65 78 | 61 6d 70 6c 65 20 72 65 |...2. ex|ample re|
|00000560| 71 75 69 72 65 73 20 61 | 6c 6c 20 66 6f 6e 74 73 |quires a|ll fonts|
|00000570| 20 74 6f 20 62 65 20 64 | 65 63 6c 61 72 65 64 20 | to be d|eclared |
|00000580| 69 6e 0d 01 9a 34 f4 20 | 61 64 76 61 6e 63 65 20 |in...4. |advance |
|00000590| 2d 20 69 74 20 64 6f 65 | 73 20 6e 6f 74 20 61 6c |- it doe|s not al|
|000005a0| 6c 6f 77 20 66 6f 72 20 | 74 68 65 20 66 6f 6e 74 |low for |the font|
|000005b0| 20 74 61 62 6c 65 0d 01 | a4 34 f4 20 69 6e 63 72 | table..|.4. incr|
|000005c0| 65 61 73 69 6e 67 20 69 | 6e 20 73 69 7a 65 20 77 |easing i|n size w|
|000005d0| 68 69 6c 65 20 74 68 65 | 20 64 72 61 77 66 69 6c |hile the| drawfil|
|000005e0| 65 20 69 73 20 62 65 69 | 6e 67 0d 01 ae 0e f4 20 |e is bei|ng..... |
|000005f0| 63 72 65 61 74 65 64 2e | 0d 01 b8 04 0d 01 c2 3f |created.|.......?|
|00000600| 63 61 6c 69 62 5f 66 6f | 6e 74 5f 6e 61 6d 65 24 |calib_fo|nt_name$|
|00000610| 20 3d 20 22 48 6f 6d 65 | 72 74 6f 6e 2e 4d 65 64 | = "Home|rton.Med|
|00000620| 69 75 6d 22 20 3a 20 63 | 61 6c 69 62 5f 66 6f 6e |ium" : c|alib_fon|
|00000630| 74 5f 73 69 7a 65 20 3d | 20 32 30 0d 01 cc 3f 6c |t_size =| 20...?l|
|00000640| 61 62 65 6c 5f 66 6f 6e | 74 5f 6e 61 6d 65 24 20 |abel_fon|t_name$ |
|00000650| 3d 20 22 48 6f 6d 65 72 | 74 6f 6e 2e 42 6f 6c 64 |= "Homer|ton.Bold|
|00000660| 22 20 20 20 3a 20 6c 61 | 62 65 6c 5f 66 6f 6e 74 |" : la|bel_font|
|00000670| 5f 73 69 7a 65 20 3d 20 | 32 30 0d 01 d6 04 0d 01 |_size = |20......|
|00000680| e0 22 f2 69 6e 69 74 5f | 64 72 61 77 66 69 6c 65 |.".init_|drawfile|
|00000690| 28 22 44 55 42 64 65 6d | 6f 22 2c 26 35 30 31 29 |("DUBdem|o",&501)|
|000006a0| 0d 01 ea 10 f2 73 74 61 | 72 74 5f 67 72 6f 75 70 |.....sta|rt_group|
|000006b0| 0d 01 f4 09 f2 61 78 65 | 73 0d 01 fe 0e f2 70 6c |.....axe|s.....pl|
|000006c0| 6f 74 5f 64 61 74 61 0d | 02 08 0e f2 65 6e 64 5f |ot_data.|....end_|
|000006d0| 67 72 6f 75 70 0d 02 12 | 16 f2 63 6f 6d 70 6c 65 |group...|..comple|
|000006e0| 74 65 5f 64 72 61 77 66 | 69 6c 65 0d 02 1c 04 0d |te_drawf|ile.....|
|000006f0| 02 26 58 c8 99 20 22 4f | 53 5f 46 69 6c 65 22 2c |.&X.. "O|S_File",|
|00000700| 31 30 2c 22 3c 44 55 42 | 64 65 6d 6f 24 44 69 72 |10,"<DUB|demo$Dir|
|00000710| 3e 2e 44 65 6d 6f 73 2e | 44 72 61 77 46 69 6c 65 |>.Demos.|DrawFile|
|00000720| 22 2c 26 41 46 46 2c 2c | 28 64 66 5f 62 75 66 66 |",&AFF,,|(df_buff|
|00000730| 25 2b 31 30 32 34 29 2c | 28 64 66 5f 62 75 66 66 |%+1024),|(df_buff|
|00000740| 25 2b 66 70 6f 25 29 0d | 02 30 2d 2a 46 69 6c 65 |%+fpo%).|.0-*File|
|00000750| 72 5f 52 75 6e 20 22 3c | 44 55 42 64 65 6d 6f 24 |r_Run "<|DUBdemo$|
|00000760| 44 69 72 3e 2e 44 65 6d | 6f 73 2e 44 72 61 77 46 |Dir>.Dem|os.DrawF|
|00000770| 69 6c 65 22 0d 02 3a 04 | 0d 02 44 05 e0 0d 02 4e |ile"..:.|..D....N|
|00000780| 04 0d 02 58 0b dd 20 f2 | 61 78 65 73 0d 02 62 1e |...X.. .|axes..b.|
|00000790| 20 20 ea 20 78 31 2c 20 | 78 32 2c 20 79 31 2c 20 | . x1, |x2, y1, |
|000007a0| 79 32 2c 20 64 78 2c 20 | 64 79 0d 02 6c 39 20 20 |y2, dx, |dy..l9 |
|000007b0| 78 31 20 3d 20 70 6c 6f | 74 5f 61 72 65 61 5f 78 |x1 = plo|t_area_x|
|000007c0| 6d 69 6e 25 20 2d 20 35 | 20 3a 20 78 32 20 3d 20 |min% - 5| : x2 = |
|000007d0| 70 6c 6f 74 5f 61 72 65 | 61 5f 78 6d 61 78 25 20 |plot_are|a_xmax% |
|000007e0| 2b 20 35 0d 02 76 39 20 | 20 79 31 20 3d 20 70 6c |+ 5..v9 | y1 = pl|
|000007f0| 6f 74 5f 61 72 65 61 5f | 79 6d 69 6e 25 20 2d 20 |ot_area_|ymin% - |
|00000800| 35 20 3a 20 79 32 20 3d | 20 70 6c 6f 74 5f 61 72 |5 : y2 =| plot_ar|
|00000810| 65 61 5f 79 6d 61 78 25 | 20 2b 20 35 0d 02 80 3b |ea_ymax%| + 5...;|
|00000820| 20 20 70 6c 6f 74 5f 61 | 72 65 61 5f 77 69 64 74 | plot_a|rea_widt|
|00000830| 68 25 20 20 3d 20 70 6c | 6f 74 5f 61 72 65 61 5f |h% = pl|ot_area_|
|00000840| 78 6d 61 78 25 20 2d 20 | 70 6c 6f 74 5f 61 72 65 |xmax% - |plot_are|
|00000850| 61 5f 78 6d 69 6e 25 0d | 02 8a 3b 20 20 70 6c 6f |a_xmin%.|..; plo|
|00000860| 74 5f 61 72 65 61 5f 68 | 65 69 67 68 74 25 20 3d |t_area_h|eight% =|
|00000870| 20 70 6c 6f 74 5f 61 72 | 65 61 5f 79 6d 61 78 25 | plot_ar|ea_ymax%|
|00000880| 20 2d 20 70 6c 6f 74 5f | 61 72 65 61 5f 79 6d 69 | - plot_|area_ymi|
|00000890| 6e 25 0d 02 94 26 20 20 | 63 61 6c 5f 78 72 61 6e |n%...& |cal_xran|
|000008a0| 67 65 20 3d 20 63 61 6c | 5f 78 6d 61 78 20 2d 20 |ge = cal|_xmax - |
|000008b0| 63 61 6c 5f 78 6d 69 6e | 0d 02 9e 26 20 20 63 61 |cal_xmin|...& ca|
|000008c0| 6c 5f 79 72 61 6e 67 65 | 20 3d 20 63 61 6c 5f 79 |l_yrange| = cal_y|
|000008d0| 6d 61 78 20 2d 20 63 61 | 6c 5f 79 6d 69 6e 0d 02 |max - ca|l_ymin..|
|000008e0| a8 1c 20 20 64 78 20 3d | 20 63 61 6c 5f 78 72 61 |.. dx =| cal_xra|
|000008f0| 6e 67 65 20 2f 20 31 30 | 30 30 0d 02 b2 1c 20 20 |nge / 10|00.... |
|00000900| 64 79 20 3d 20 63 61 6c | 5f 79 72 61 6e 67 65 20 |dy = cal|_yrange |
|00000910| 2f 20 31 30 30 30 0d 02 | bc 12 20 20 f2 73 74 61 |/ 1000..|.. .sta|
|00000920| 72 74 5f 67 72 6f 75 70 | 0d 02 c6 12 20 20 f2 73 |rt_group|.... .s|
|00000930| 74 61 72 74 5f 67 72 6f | 75 70 0d 02 d0 2c 20 20 |tart_gro|up..., |
|00000940| f2 61 78 65 73 5f 6d 61 | 69 6e 5f 62 6f 78 28 78 |.axes_ma|in_box(x|
|00000950| 31 2c 20 78 32 2c 20 79 | 31 2c 20 79 32 2c 20 64 |1, x2, y|1, y2, d|
|00000960| 78 2c 20 64 79 29 0d 02 | da 10 20 20 f2 65 6e 64 |x, dy)..|.. .end|
|00000970| 5f 67 72 6f 75 70 0d 02 | e4 33 20 20 e7 20 28 63 |_group..|.3 . (c|
|00000980| 61 6c 5f 67 72 69 64 5f | 78 73 74 65 70 20 3e 20 |al_grid_|xstep > |
|00000990| 30 20 84 20 63 61 6c 5f | 67 72 69 64 5f 79 73 74 |0 . cal_|grid_yst|
|000009a0| 65 70 20 3e 20 30 29 20 | 8c 0d 02 ee 2a 20 20 20 |ep > 0) |....* |
|000009b0| 20 f2 61 78 65 73 5f 67 | 72 69 64 28 78 31 2c 20 | .axes_g|rid(x1, |
|000009c0| 78 32 2c 20 79 31 2c 20 | 79 32 2c 20 64 78 2c 20 |x2, y1, |y2, dx, |
|000009d0| 64 79 29 0d 02 f8 07 20 | 20 cd 0d 03 02 10 20 20 |dy).... | ..... |
|000009e0| f2 65 6e 64 5f 67 72 6f | 75 70 0d 03 0c 05 e1 0d |.end_gro|up......|
|000009f0| 03 16 04 0d 03 20 2c dd | 20 f2 61 78 65 73 5f 6d |..... ,.| .axes_m|
|00000a00| 61 69 6e 5f 62 6f 78 28 | 78 31 2c 20 78 32 2c 20 |ain_box(|x1, x2, |
|00000a10| 79 31 2c 20 79 32 2c 20 | 64 78 2c 20 64 79 29 0d |y1, y2, |dx, dy).|
|00000a20| 03 2a 2d 20 20 ea 20 63 | 78 28 29 2c 20 63 79 28 |.*- . c|x(), cy(|
|00000a30| 29 2c 20 69 25 2c 20 78 | 2c 20 79 2c 20 74 2c 20 |), i%, x|, y, t, |
|00000a40| 77 6d 61 78 25 2c 20 68 | 6d 61 78 25 0d 03 34 26 |wmax%, h|max%..4&|
|00000a50| 20 20 de 20 63 78 28 63 | 61 6c 5f 78 72 61 6e 67 | . cx(c|al_xrang|
|00000a60| 65 20 2f 20 63 61 6c 5f | 78 73 74 65 70 20 2b 20 |e / cal_|xstep + |
|00000a70| 31 29 0d 03 3e 26 20 20 | de 20 63 79 28 63 61 6c |1)..>& |. cy(cal|
|00000a80| 5f 79 72 61 6e 67 65 20 | 2f 20 63 61 6c 5f 79 73 |_yrange |/ cal_ys|
|00000a90| 74 65 70 20 2b 20 31 29 | 0d 03 48 29 20 20 f2 73 |tep + 1)|..H) .s|
|00000aa0| 74 61 72 74 5f 70 61 74 | 68 28 30 2c 20 2d 31 2c |tart_pat|h(0, -1,|
|00000ab0| 20 36 34 30 2c 20 30 2c | 20 30 2c 20 30 2c 20 30 | 640, 0,| 0, 0, 0|
|00000ac0| 29 0d 03 52 20 20 20 f2 | 72 65 63 74 61 6e 67 6c |)..R .|rectangl|
|00000ad0| 65 28 78 31 2c 20 79 31 | 2c 20 78 32 2c 20 79 32 |e(x1, y1|, x2, y2|
|00000ae0| 29 0d 03 5c 0c 20 20 69 | 25 20 3d 20 30 0d 03 66 |)..\. i|% = 0..f|
|00000af0| 30 20 20 e3 20 78 20 3d | 20 63 61 6c 5f 78 6d 69 |0 . x =| cal_xmi|
|00000b00| 6e 20 b8 20 63 61 6c 5f | 78 6d 61 78 20 2b 20 64 |n . cal_|xmax + d|
|00000b10| 78 20 88 20 63 61 6c 5f | 78 73 74 65 70 0d 03 70 |x . cal_|xstep..p|
|00000b20| 16 20 20 20 20 74 20 3d | 20 a4 78 70 75 32 6d 6d |. t =| .xpu2mm|
|00000b30| 28 78 29 0d 03 7a 1a 20 | 20 20 20 63 78 28 69 25 |(x)..z. | cx(i%|
|00000b40| 29 20 3d 20 a4 6d 6d 32 | 64 75 28 74 29 0d 03 84 |) = .mm2|du(t)...|
|00000b50| 0f 20 20 20 20 69 25 20 | 2b 3d 20 31 0d 03 8e 27 |. i% |+= 1...'|
|00000b60| 20 20 20 20 f2 6d 6f 76 | 65 28 74 2c 20 79 31 29 | .mov|e(t, y1)|
|00000b70| 20 3a 20 f2 64 72 61 77 | 28 74 2c 20 79 31 20 2b | : .draw|(t, y1 +|
|00000b80| 20 34 29 0d 03 98 27 20 | 20 20 20 f2 6d 6f 76 65 | 4)...' | .move|
|00000b90| 28 74 2c 20 79 32 29 20 | 3a 20 f2 64 72 61 77 28 |(t, y2) |: .draw(|
|00000ba0| 74 2c 20 79 32 20 2d 20 | 34 29 0d 03 a2 07 20 20 |t, y2 - |4).... |
|00000bb0| ed 0d 03 ac 0c 20 20 69 | 25 20 3d 20 30 0d 03 b6 |..... i|% = 0...|
|00000bc0| 30 20 20 e3 20 79 20 3d | 20 63 61 6c 5f 79 6d 69 |0 . y =| cal_ymi|
|00000bd0| 6e 20 b8 20 63 61 6c 5f | 79 6d 61 78 20 2b 20 64 |n . cal_|ymax + d|
|00000be0| 79 20 88 20 63 61 6c 5f | 79 73 74 65 70 0d 03 c0 |y . cal_|ystep...|
|00000bf0| 16 20 20 20 20 74 20 3d | 20 a4 79 70 75 32 6d 6d |. t =| .ypu2mm|
|00000c00| 28 79 29 0d 03 ca 1a 20 | 20 20 20 63 79 28 69 25 |(y).... | cy(i%|
|00000c10| 29 20 3d 20 a4 6d 6d 32 | 64 75 28 74 29 0d 03 d4 |) = .mm2|du(t)...|
|00000c20| 0f 20 20 20 20 69 25 20 | 2b 3d 20 31 0d 03 de 27 |. i% |+= 1...'|
|00000c30| 20 20 20 20 f2 6d 6f 76 | 65 28 78 31 2c 20 74 29 | .mov|e(x1, t)|
|00000c40| 20 3a 20 f2 64 72 61 77 | 28 78 31 20 2b 20 34 2c | : .draw|(x1 + 4,|
|00000c50| 20 74 29 0d 03 e8 27 20 | 20 20 20 f2 6d 6f 76 65 | t)...' | .move|
|00000c60| 28 78 32 2c 20 74 29 20 | 3a 20 f2 64 72 61 77 28 |(x2, t) |: .draw(|
|00000c70| 78 32 20 2d 20 34 2c 20 | 74 29 0d 03 f2 07 20 20 |x2 - 4, |t).... |
|00000c80| ed 0d 03 fc 12 20 20 f2 | 65 6e 64 5f 70 61 74 68 |..... .|end_path|
|00000c90| 28 34 29 0d 04 06 3f 20 | 20 f2 61 78 65 73 5f 63 |(4)...? | .axes_c|
|00000ca0| 61 6c 69 62 72 61 74 65 | 28 78 31 2c 20 79 31 2c |alibrate|(x1, y1,|
|00000cb0| 20 64 78 2c 20 64 79 2c | 20 63 78 28 29 2c 20 63 | dx, dy,| cx(), c|
|00000cc0| 79 28 29 2c 20 77 6d 61 | 78 25 2c 20 68 6d 61 78 |y(), wma|x%, hmax|
|00000cd0| 25 29 0d 04 10 2f 20 20 | f2 61 78 65 73 5f 6d 69 |%).../ |.axes_mi|
|00000ce0| 6e 6f 72 5f 73 63 61 6c | 65 28 78 31 2c 20 78 32 |nor_scal|e(x1, x2|
|00000cf0| 2c 20 79 31 2c 20 79 32 | 2c 20 64 78 2c 20 64 79 |, y1, y2|, dx, dy|
|00000d00| 29 0d 04 1a 2f 20 20 f2 | 61 78 65 73 5f 6c 61 62 |).../ .|axes_lab|
|00000d10| 65 6c 28 78 31 2c 20 78 | 32 2c 20 79 31 2c 20 79 |el(x1, x|2, y1, y|
|00000d20| 32 2c 20 77 6d 61 78 25 | 2c 20 68 6d 61 78 25 29 |2, wmax%|, hmax%)|
|00000d30| 0d 04 24 05 e1 0d 04 2e | 04 0d 04 38 36 f4 20 50 |..$.....|...86. P|
|00000d40| 75 74 20 6e 75 6d 62 65 | 72 73 20 61 74 20 6d 61 |ut numbe|rs at ma|
|00000d50| 6a 6f 72 20 73 74 65 70 | 20 69 6e 74 65 72 76 61 |jor step| interva|
|00000d60| 6c 73 20 28 6e 6f 74 65 | 20 75 73 65 20 6f 66 0d |ls (note| use of.|
|00000d70| 04 42 36 f4 20 44 46 5f | 53 68 69 66 74 4f 62 6a |.B6. DF_|ShiftObj|
|00000d80| 65 63 74 20 74 6f 20 70 | 75 74 20 74 65 78 74 20 |ect to p|ut text |
|00000d90| 69 6e 20 63 6f 72 72 65 | 63 74 20 6c 6f 63 61 74 |in corre|ct locat|
|00000da0| 69 6f 6e 29 2e 0d 04 4c | 04 0d 04 56 43 dd 20 f2 |ion)...L|...VC. .|
|00000db0| 61 78 65 73 5f 63 61 6c | 69 62 72 61 74 65 28 78 |axes_cal|ibrate(x|
|00000dc0| 31 2c 20 79 31 2c 20 64 | 78 2c 20 64 79 2c 20 63 |1, y1, d|x, dy, c|
|00000dd0| 78 28 29 2c 20 63 79 28 | 29 2c 20 f8 20 77 6d 61 |x(), cy(|), . wma|
|00000de0| 78 25 2c 20 f8 20 68 6d | 61 78 25 29 0d 04 60 1c |x%, . hm|ax%)..`.|
|00000df0| 20 20 ea 20 70 25 2c 20 | 69 25 2c 20 74 2c 20 6d | . p%, |i%, t, m|
|00000e00| 2c 20 77 25 2c 20 68 25 | 0d 04 6a 43 20 20 f2 73 |, w%, h%|..jC .s|
|00000e10| 65 6c 65 63 74 5f 66 6f | 6e 74 28 63 61 6c 69 62 |elect_fo|nt(calib|
|00000e20| 5f 66 6f 6e 74 5f 6e 61 | 6d 65 24 2c 20 63 61 6c |_font_na|me$, cal|
|00000e30| 69 62 5f 66 6f 6e 74 5f | 73 69 7a 65 2c 20 30 2c |ib_font_|size, 0,|
|00000e40| 20 26 46 46 46 46 46 46 | 30 30 29 0d 04 74 1a 20 | &FFFFFF|00)..t. |
|00000e50| 20 40 25 20 3d 20 63 61 | 6c 5f 6e 75 6d 5f 78 66 | @% = ca|l_num_xf|
|00000e60| 6f 72 6d 61 74 0d 04 7e | 0c 20 20 69 25 20 3d 20 |ormat..~|. i% = |
|00000e70| 30 0d 04 88 18 20 20 6d | 20 3d 20 a4 6d 6d 32 64 |0.... m| = .mm2d|
|00000e80| 75 28 79 31 20 2d 20 32 | 29 0d 04 92 30 20 20 e3 |u(y1 - 2|)...0 .|
|00000e90| 20 74 20 3d 20 63 61 6c | 5f 78 6d 69 6e 20 b8 20 | t = cal|_xmin . |
|00000ea0| 63 61 6c 5f 78 6d 61 78 | 20 2b 20 64 78 20 88 20 |cal_xmax| + dx . |
|00000eb0| 63 61 6c 5f 78 73 74 65 | 70 0d 04 9c 11 20 20 20 |cal_xste|p.... |
|00000ec0| 20 70 25 20 3d 20 66 70 | 6f 25 0d 04 a6 2a 20 20 | p% = fp|o%...* |
|00000ed0| 20 20 f2 77 72 69 74 65 | 5f 74 65 78 74 28 c3 28 | .write|_text(.(|
|00000ee0| 74 29 2c 20 30 2c 20 30 | 2c 20 30 2c 20 77 25 2c |t), 0, 0|, 0, w%,|
|00000ef0| 20 68 25 29 0d 04 b0 21 | 20 20 20 20 e7 20 68 25 | h%)...!| . h%|
|00000f00| 20 3e 20 68 6d 61 78 25 | 20 8c 20 68 6d 61 78 25 | > hmax%| . hmax%|
|00000f10| 20 3d 20 68 25 0d 04 ba | 36 20 20 20 20 f2 73 68 | = h%...|6 .sh|
|00000f20| 69 66 74 5f 6f 62 6a 65 | 63 74 28 70 25 2c 20 28 |ift_obje|ct(p%, (|
|00000f30| 63 78 28 69 25 29 20 2d | 20 77 25 20 2f 20 32 29 |cx(i%) -| w% / 2)|
|00000f40| 2c 20 28 6d 20 2d 20 68 | 25 29 29 0d 04 c4 0f 20 |, (m - h|%)).... |
|00000f50| 20 20 20 69 25 20 2b 3d | 20 31 0d 04 ce 07 20 20 | i% +=| 1.... |
|00000f60| ed 0d 04 d8 1a 20 20 40 | 25 20 3d 20 63 61 6c 5f |..... @|% = cal_|
|00000f70| 6e 75 6d 5f 79 66 6f 72 | 6d 61 74 0d 04 e2 0c 20 |num_yfor|mat.... |
|00000f80| 20 69 25 20 3d 20 30 0d | 04 ec 18 20 20 6d 20 3d | i% = 0.|... m =|
|00000f90| 20 a4 6d 6d 32 64 75 28 | 78 31 20 2d 20 32 29 0d | .mm2du(|x1 - 2).|
|00000fa0| 04 f6 30 20 20 e3 20 74 | 20 3d 20 63 61 6c 5f 79 |..0 . t| = cal_y|
|00000fb0| 6d 69 6e 20 b8 20 63 61 | 6c 5f 79 6d 61 78 20 2b |min . ca|l_ymax +|
|00000fc0| 20 64 79 20 88 20 63 61 | 6c 5f 79 73 74 65 70 0d | dy . ca|l_ystep.|
|00000fd0| 05 00 11 20 20 20 20 70 | 25 20 3d 20 66 70 6f 25 |... p|% = fpo%|
|00000fe0| 0d 05 0a 2a 20 20 20 20 | f2 77 72 69 74 65 5f 74 |...* |.write_t|
|00000ff0| 65 78 74 28 c3 28 74 29 | 2c 20 30 2c 20 30 2c 20 |ext(.(t)|, 0, 0, |
|00001000| 30 2c 20 77 25 2c 20 68 | 25 29 0d 05 14 21 20 20 |0, w%, h|%)...! |
|00001010| 20 20 e7 20 77 25 20 3e | 20 77 6d 61 78 25 20 8c | . w% >| wmax% .|
|00001020| 20 77 6d 61 78 25 20 3d | 20 77 25 0d 05 1e 36 20 | wmax% =| w%...6 |
|00001030| 20 20 20 f2 73 68 69 66 | 74 5f 6f 62 6a 65 63 74 | .shif|t_object|
|00001040| 28 70 25 2c 20 28 6d 20 | 2d 20 77 25 29 2c 20 28 |(p%, (m |- w%), (|
|00001050| 63 79 28 69 25 29 20 2d | 20 68 25 20 2f 20 32 29 |cy(i%) -| h% / 2)|
|00001060| 29 0d 05 28 0f 20 20 20 | 20 69 25 20 2b 3d 20 31 |)..(. | i% += 1|
|00001070| 0d 05 32 07 20 20 ed 0d | 05 3c 05 e1 0d 05 46 04 |..2. ..|.<....F.|
|00001080| 0d 05 50 43 f4 20 50 75 | 74 20 6d 61 72 6b 73 20 |..PC. Pu|t marks |
|00001090| 61 74 20 6d 69 6e 6f 72 | 20 73 74 65 70 20 69 6e |at minor| step in|
|000010a0| 74 65 72 76 61 6c 73 20 | 28 69 73 20 73 61 6d 65 |tervals |(is same|
|000010b0| 20 61 73 20 67 72 69 64 | 20 64 69 76 69 73 69 6f | as grid| divisio|
|000010c0| 6e 29 2e 0d 05 5a 04 0d | 05 64 2f dd 20 f2 61 78 |n)...Z..|.d/. .ax|
|000010d0| 65 73 5f 6d 69 6e 6f 72 | 5f 73 63 61 6c 65 28 78 |es_minor|_scale(x|
|000010e0| 31 2c 20 78 32 2c 20 79 | 31 2c 20 79 32 2c 20 64 |1, x2, y|1, y2, d|
|000010f0| 78 2c 20 64 79 29 0d 05 | 6e 0f 20 20 ea 20 78 2c |x, dy)..|n. . x,|
|00001100| 20 79 2c 20 74 0d 05 78 | 1c 20 20 e7 20 63 61 6c | y, t..x|. . cal|
|00001110| 5f 67 72 69 64 5f 78 73 | 74 65 70 20 3e 20 30 20 |_grid_xs|tep > 0 |
|00001120| 8c 0d 05 82 2b 20 20 20 | 20 f2 73 74 61 72 74 5f |....+ | .start_|
|00001130| 70 61 74 68 28 30 2c 20 | 2d 31 2c 20 31 36 30 2c |path(0, |-1, 160,|
|00001140| 20 30 2c 20 30 2c 20 30 | 2c 20 30 29 0d 05 8c 37 | 0, 0, 0|, 0)...7|
|00001150| 20 20 20 20 e3 20 78 20 | 3d 20 63 61 6c 5f 78 6d | . x |= cal_xm|
|00001160| 69 6e 20 b8 20 63 61 6c | 5f 78 6d 61 78 20 2b 20 |in . cal|_xmax + |
|00001170| 64 78 20 88 20 63 61 6c | 5f 67 72 69 64 5f 78 73 |dx . cal|_grid_xs|
|00001180| 74 65 70 0d 05 96 18 20 | 20 20 20 20 20 74 20 3d |tep.... | t =|
|00001190| 20 a4 78 70 75 32 6d 6d | 28 78 29 0d 05 a0 29 20 | .xpu2mm|(x)...) |
|000011a0| 20 20 20 20 20 f2 6d 6f | 76 65 28 74 2c 20 79 31 | .mo|ve(t, y1|
|000011b0| 29 20 3a 20 f2 64 72 61 | 77 28 74 2c 20 79 31 20 |) : .dra|w(t, y1 |
|000011c0| 2b 20 32 29 0d 05 aa 29 | 20 20 20 20 20 20 f2 6d |+ 2)...)| .m|
|000011d0| 6f 76 65 28 74 2c 20 79 | 32 29 20 3a 20 f2 64 72 |ove(t, y|2) : .dr|
|000011e0| 61 77 28 74 2c 20 79 32 | 20 2d 20 32 29 0d 05 b4 |aw(t, y2| - 2)...|
|000011f0| 09 20 20 20 20 ed 0d 05 | be 14 20 20 20 20 f2 65 |. ...|.. .e|
|00001200| 6e 64 5f 70 61 74 68 28 | 34 29 0d 05 c8 07 20 20 |nd_path(|4).... |
|00001210| cd 0d 05 d2 1c 20 20 e7 | 20 63 61 6c 5f 67 72 69 |..... .| cal_gri|
|00001220| 64 5f 79 73 74 65 70 20 | 3e 20 30 20 8c 0d 05 dc |d_ystep |> 0 ....|
|00001230| 2b 20 20 20 20 f2 73 74 | 61 72 74 5f 70 61 74 68 |+ .st|art_path|
|00001240| 28 30 2c 20 2d 31 2c 20 | 31 36 30 2c 20 30 2c 20 |(0, -1, |160, 0, |
|00001250| 30 2c 20 30 2c 20 30 29 | 0d 05 e6 37 20 20 20 20 |0, 0, 0)|...7 |
|00001260| e3 20 79 20 3d 20 63 61 | 6c 5f 79 6d 69 6e 20 b8 |. y = ca|l_ymin .|
|00001270| 20 63 61 6c 5f 79 6d 61 | 78 20 2b 20 64 79 20 88 | cal_yma|x + dy .|
|00001280| 20 63 61 6c 5f 67 72 69 | 64 5f 79 73 74 65 70 0d | cal_gri|d_ystep.|
|00001290| 05 f0 18 20 20 20 20 20 | 20 74 20 3d 20 a4 79 70 |... | t = .yp|
|000012a0| 75 32 6d 6d 28 79 29 0d | 05 fa 29 20 20 20 20 20 |u2mm(y).|..) |
|000012b0| 20 f2 6d 6f 76 65 28 78 | 31 2c 20 74 29 20 3a 20 | .move(x|1, t) : |
|000012c0| f2 64 72 61 77 28 78 31 | 20 2b 20 32 2c 20 74 29 |.draw(x1| + 2, t)|
|000012d0| 0d 06 04 29 20 20 20 20 | 20 20 f2 6d 6f 76 65 28 |...) | .move(|
|000012e0| 78 32 2c 20 74 29 20 3a | 20 f2 64 72 61 77 28 78 |x2, t) :| .draw(x|
|000012f0| 32 20 2d 20 32 2c 20 74 | 29 0d 06 0e 09 20 20 20 |2 - 2, t|).... |
|00001300| 20 ed 0d 06 18 14 20 20 | 20 20 f2 65 6e 64 5f 70 | ..... | .end_p|
|00001310| 61 74 68 28 34 29 0d 06 | 22 07 20 20 cd 0d 06 2c |ath(4)..|". ...,|
|00001320| 05 e1 0d 06 36 04 0d 06 | 40 30 f4 20 41 64 64 20 |....6...|@0. Add |
|00001330| 6c 61 62 65 6c 73 20 74 | 6f 20 61 78 65 73 20 28 |labels t|o axes (|
|00001340| 44 46 5f 53 68 69 66 74 | 4f 62 6a 65 63 74 20 61 |DF_Shift|Object a|
|00001350| 67 61 69 6e 29 2e 0d 06 | 4a 04 0d 06 54 2f dd 20 |gain)...|J...T/. |
|00001360| f2 61 78 65 73 5f 6c 61 | 62 65 6c 28 78 31 2c 20 |.axes_la|bel(x1, |
|00001370| 78 32 2c 20 79 31 2c 20 | 79 32 2c 20 77 6d 61 78 |x2, y1, |y2, wmax|
|00001380| 25 2c 20 68 6d 61 78 25 | 29 0d 06 5e 18 20 20 ea |%, hmax%|)..^. .|
|00001390| 20 70 25 2c 20 77 25 2c | 20 68 25 2c 20 78 2c 20 | p%, w%,| h%, x, |
|000013a0| 79 0d 06 68 43 20 20 f2 | 73 65 6c 65 63 74 5f 66 |y..hC .|select_f|
|000013b0| 6f 6e 74 28 6c 61 62 65 | 6c 5f 66 6f 6e 74 5f 6e |ont(labe|l_font_n|
|000013c0| 61 6d 65 24 2c 20 6c 61 | 62 65 6c 5f 66 6f 6e 74 |ame$, la|bel_font|
|000013d0| 5f 73 69 7a 65 2c 20 30 | 2c 20 26 46 46 46 46 46 |_size, 0|, &FFFFF|
|000013e0| 46 30 30 29 0d 06 72 0f | 20 20 70 25 20 3d 20 66 |F00)..r.| p% = f|
|000013f0| 70 6f 25 0d 06 7c 2f 20 | 20 f2 77 72 69 74 65 5f |po%..|/ | .write_|
|00001400| 74 65 78 74 28 63 61 6c | 5f 78 6c 61 62 65 6c 24 |text(cal|_xlabel$|
|00001410| 2c 20 30 2c 20 30 2c 20 | 30 2c 20 77 25 2c 20 68 |, 0, 0, |0, w%, h|
|00001420| 25 29 0d 06 86 2d 20 20 | 78 20 3d 20 a4 6d 6d 32 |%)...- |x = .mm2|
|00001430| 64 75 28 28 78 32 20 2d | 20 78 31 29 20 2f 20 32 |du((x2 -| x1) / 2|
|00001440| 20 2b 20 78 31 29 20 2d | 20 77 25 20 2f 20 32 0d | + x1) -| w% / 2.|
|00001450| 06 90 25 20 20 79 20 3d | 20 a4 6d 6d 32 64 75 28 |..% y =| .mm2du(|
|00001460| 79 31 20 2d 20 33 29 20 | 2d 20 68 6d 61 78 25 20 |y1 - 3) |- hmax% |
|00001470| 2d 20 68 25 0d 06 9a 1d | 20 20 f2 73 68 69 66 74 |- h%....| .shift|
|00001480| 5f 6f 62 6a 65 63 74 28 | 70 25 2c 20 78 2c 20 79 |_object(|p%, x, y|
|00001490| 29 0d 06 a4 0f 20 20 70 | 25 20 3d 20 66 70 6f 25 |).... p|% = fpo%|
|000014a0| 0d 06 ae 30 20 20 f2 77 | 72 69 74 65 5f 74 65 78 |...0 .w|rite_tex|
|000014b0| 74 28 63 61 6c 5f 79 6c | 61 62 65 6c 24 2c 20 30 |t(cal_yl|abel$, 0|
|000014c0| 2c 20 30 2c 20 39 30 2c | 20 77 25 2c 20 68 25 29 |, 0, 90,| w%, h%)|
|000014d0| 0d 06 b8 20 20 20 78 20 | 3d 20 a4 6d 6d 32 64 75 |... x |= .mm2du|
|000014e0| 28 78 31 20 2d 20 33 29 | 20 2d 20 77 6d 61 78 25 |(x1 - 3)| - wmax%|
|000014f0| 0d 06 c2 2d 20 20 79 20 | 3d 20 a4 6d 6d 32 64 75 |...- y |= .mm2du|
|00001500| 28 28 79 32 20 2d 20 79 | 31 29 20 2f 20 32 20 2b |((y2 - y|1) / 2 +|
|00001510| 20 79 31 29 20 2d 20 68 | 25 20 2f 20 32 0d 06 cc | y1) - h|% / 2...|
|00001520| 1d 20 20 f2 73 68 69 66 | 74 5f 6f 62 6a 65 63 74 |. .shif|t_object|
|00001530| 28 70 25 2c 20 78 2c 20 | 79 29 0d 06 d6 05 e1 0d |(p%, x, |y)......|
|00001540| 06 e0 04 0d 06 ea 28 dd | 20 f2 61 78 65 73 5f 67 |......(.| .axes_g|
|00001550| 72 69 64 28 78 31 2c 20 | 78 32 2c 20 79 31 2c 20 |rid(x1, |x2, y1, |
|00001560| 79 32 2c 20 64 78 2c 20 | 64 79 29 0d 06 f4 14 20 |y2, dx, |dy).... |
|00001570| 20 ea 20 78 73 2c 20 79 | 73 2c 20 74 2c 20 76 0d | . xs, y|s, t, v.|
|00001580| 06 fe 2f 20 20 f2 73 74 | 61 72 74 5f 70 61 74 68 |../ .st|art_path|
|00001590| 28 26 43 43 43 43 43 43 | 30 30 2c 20 2d 31 2c 20 |(&CCCCCC|00, -1, |
|000015a0| 30 2c 20 30 2c 20 30 2c | 20 30 2c 20 30 29 0d 07 |0, 0, 0,| 0, 0)..|
|000015b0| 08 36 20 20 78 73 20 3d | 20 63 61 6c 5f 67 72 69 |.6 xs =| cal_gri|
|000015c0| 64 5f 78 73 74 65 70 20 | 3a 20 e7 20 78 73 20 3d |d_xstep |: . xs =|
|000015d0| 20 30 20 8c 20 78 73 20 | 3d 20 63 61 6c 5f 78 72 | 0 . xs |= cal_xr|
|000015e0| 61 6e 67 65 0d 07 12 36 | 20 20 79 73 20 3d 20 63 |ange...6| ys = c|
|000015f0| 61 6c 5f 67 72 69 64 5f | 79 73 74 65 70 20 3a 20 |al_grid_|ystep : |
|00001600| e7 20 79 73 20 3d 20 30 | 20 8c 20 79 73 20 3d 20 |. ys = 0| . ys = |
|00001610| 63 61 6c 5f 79 72 61 6e | 67 65 0d 07 1c 29 20 20 |cal_yran|ge...) |
|00001620| e3 20 76 20 3d 20 63 61 | 6c 5f 78 6d 69 6e 20 b8 |. v = ca|l_xmin .|
|00001630| 20 63 61 6c 5f 78 6d 61 | 78 20 2b 20 64 78 20 88 | cal_xma|x + dx .|
|00001640| 20 78 73 0d 07 26 16 20 | 20 20 20 74 20 3d 20 a4 | xs..&. | t = .|
|00001650| 78 70 75 32 6d 6d 28 76 | 29 0d 07 30 2b 20 20 20 |xpu2mm(v|)..0+ |
|00001660| 20 f2 6d 6f 76 65 28 74 | 2c 20 79 31 20 2b 20 35 | .move(t|, y1 + 5|
|00001670| 29 20 3a 20 f2 64 72 61 | 77 28 74 2c 20 79 32 20 |) : .dra|w(t, y2 |
|00001680| 2d 20 35 29 0d 07 3a 07 | 20 20 ed 0d 07 44 29 20 |- 5)..:.| ...D) |
|00001690| 20 e3 20 76 20 3d 20 63 | 61 6c 5f 79 6d 69 6e 20 | . v = c|al_ymin |
|000016a0| b8 20 63 61 6c 5f 79 6d | 61 78 20 2b 20 64 79 20 |. cal_ym|ax + dy |
|000016b0| 88 20 79 73 0d 07 4e 16 | 20 20 20 20 74 20 3d 20 |. ys..N.| t = |
|000016c0| a4 79 70 75 32 6d 6d 28 | 76 29 0d 07 58 2b 20 20 |.ypu2mm(|v)..X+ |
|000016d0| 20 20 f2 6d 6f 76 65 28 | 78 31 20 2b 20 35 2c 20 | .move(|x1 + 5, |
|000016e0| 74 29 20 3a 20 f2 64 72 | 61 77 28 78 32 20 2d 20 |t) : .dr|aw(x2 - |
|000016f0| 35 2c 20 74 29 0d 07 62 | 07 20 20 ed 0d 07 6c 12 |5, t)..b|. ...l.|
|00001700| 20 20 f2 65 6e 64 5f 70 | 61 74 68 28 34 29 0d 07 | .end_p|ath(4)..|
|00001710| 76 05 e1 0d 07 80 04 0d | 07 8a 2d f4 20 41 64 64 |v.......|..-. Add|
|00001720| 20 74 68 65 20 28 62 65 | 7a 69 65 72 29 20 63 75 | the (be|zier) cu|
|00001730| 72 76 65 20 74 68 65 6e | 20 74 68 65 20 70 6f 69 |rve then| the poi|
|00001740| 6e 74 73 2e 0d 07 94 04 | 0d 07 9e 10 dd 20 f2 70 |nts.....|..... .p|
|00001750| 6c 6f 74 5f 64 61 74 61 | 0d 07 a8 16 20 20 ea 20 |lot_data|.... . |
|00001760| 66 25 2c 20 61 2c 20 73 | 2c 20 78 2c 20 79 0d 07 |f%, a, s|, x, y..|
|00001770| b2 12 20 20 f2 73 74 61 | 72 74 5f 67 72 6f 75 70 |.. .sta|rt_group|
|00001780| 0d 07 bc 31 20 20 f2 73 | 74 61 72 74 5f 70 61 74 |...1 .s|tart_pat|
|00001790| 68 28 26 30 30 30 30 46 | 46 30 30 2c 20 2d 31 2c |h(&0000F|F00, -1,|
|000017a0| 20 36 34 30 2c 20 30 2c | 20 30 2c 20 30 2c 20 30 | 640, 0,| 0, 0, 0|
|000017b0| 29 0d 07 c6 0c 20 20 66 | 25 20 3d 20 b9 0d 07 d0 |).... f|% = ....|
|000017c0| 18 20 20 e3 20 61 20 3d | 20 30 20 b8 20 33 36 30 |. . a =| 0 . 360|
|000017d0| 20 88 20 33 30 0d 07 da | 13 20 20 20 20 73 20 3d | . 30...|. s =|
|000017e0| 20 b5 28 b2 28 61 29 29 | 0d 07 e4 16 20 20 20 20 | .(.(a))|.... |
|000017f0| 78 20 3d 20 a4 78 70 75 | 32 6d 6d 28 61 29 0d 07 |x = .xpu|2mm(a)..|
|00001800| ee 16 20 20 20 20 79 20 | 3d 20 a4 79 70 75 32 6d |.. y |= .ypu2m|
|00001810| 6d 28 73 29 0d 07 f8 0e | 20 20 20 20 e7 20 66 25 |m(s)....| . f%|
|00001820| 20 8c 0d 08 02 1e 20 20 | 20 20 20 20 f2 6d 6f 76 | ..... | .mov|
|00001830| 65 28 78 2c 20 79 29 20 | 3a 20 66 25 20 3d 20 a3 |e(x, y) |: f% = .|
|00001840| 0d 08 0c 09 20 20 20 20 | cc 0d 08 16 16 20 20 20 |.... |..... |
|00001850| 20 20 20 f2 63 75 72 76 | 65 28 78 2c 20 79 29 0d | .curv|e(x, y).|
|00001860| 08 20 09 20 20 20 20 cd | 0d 08 2a 07 20 20 ed 0d |. . .|..*. ..|
|00001870| 08 34 12 20 20 f2 65 6e | 64 5f 70 61 74 68 28 30 |.4. .en|d_path(0|
|00001880| 29 0d 08 3e 18 20 20 e3 | 20 61 20 3d 20 30 20 b8 |)..>. .| a = 0 .|
|00001890| 20 33 36 30 20 88 20 33 | 30 0d 08 48 13 20 20 20 | 360 . 3|0..H. |
|000018a0| 20 73 20 3d 20 b5 28 b2 | 28 61 29 29 0d 08 52 16 | s = .(.|(a))..R.|
|000018b0| 20 20 20 20 78 20 3d 20 | a4 78 70 75 32 6d 6d 28 | x = |.xpu2mm(|
|000018c0| 61 29 0d 08 5c 16 20 20 | 20 20 79 20 3d 20 a4 79 |a)..\. | y = .y|
|000018d0| 70 75 32 6d 6d 28 73 29 | 0d 08 66 39 20 20 20 20 |pu2mm(s)|..f9 |
|000018e0| f2 73 79 6d 62 6f 6c 28 | 31 2c 20 26 30 30 30 30 |.symbol(|1, &0000|
|000018f0| 46 46 30 30 2c 20 26 46 | 46 46 46 46 46 30 30 2c |FF00, &F|FFFFF00,|
|00001900| 20 26 46 46 46 46 46 46 | 30 30 2c 20 78 2c 20 79 | &FFFFFF|00, x, y|
|00001910| 29 0d 08 70 07 20 20 ed | 0d 08 7a 10 20 20 f2 65 |)..p. .|..z. .e|
|00001920| 6e 64 5f 67 72 6f 75 70 | 0d 08 84 05 e1 0d 08 8e |nd_group|........|
|00001930| 04 0d 08 98 46 f4 20 53 | 79 6d 62 6f 6c 20 74 79 |....F. S|ymbol ty|
|00001940| 70 65 20 3d 20 31 20 28 | 63 69 72 63 6c 65 29 20 |pe = 1 (|circle) |
|00001950| 6f 72 20 32 20 28 73 71 | 75 61 72 65 29 2e 20 49 |or 2 (sq|uare). I|
|00001960| 6e 69 74 69 61 6c 6c 79 | 20 64 72 61 77 73 20 73 |nitially| draws s|
|00001970| 6c 69 67 68 74 6c 79 0d | 08 a2 47 f4 20 6c 61 72 |lightly.|..G. lar|
|00001980| 67 65 72 20 73 79 6d 62 | 6f 6c 20 69 6e 20 62 61 |ger symb|ol in ba|
|00001990| 63 6b 67 72 6f 75 6e 64 | 20 63 6f 6c 6f 75 72 20 |ckground| colour |
|000019a0| 2d 20 69 6e 64 69 76 69 | 64 75 61 6c 20 73 79 6d |- indivi|dual sym|
|000019b0| 62 6f 6c 73 20 63 61 6e | 20 73 74 69 6c 6c 0d 08 |bols can| still..|
|000019c0| ac 36 f4 20 62 65 20 73 | 65 65 6e 20 69 66 20 74 |.6. be s|een if t|
|000019d0| 68 65 79 20 63 6c 75 73 | 74 65 72 20 74 6f 67 65 |hey clus|ter toge|
|000019e0| 74 68 65 72 2e 20 78 20 | 61 6e 64 20 79 20 69 6e |ther. x |and y in|
|000019f0| 20 6d 6d 2e 0d 08 b6 04 | 0d 08 c0 2e dd 20 f2 73 | mm.....|..... .s|
|00001a00| 79 6d 62 6f 6c 28 74 79 | 70 65 25 2c 20 63 6c 72 |ymbol(ty|pe%, clr|
|00001a10| 25 2c 20 66 69 6c 6c 25 | 2c 20 62 67 6e 64 25 2c |%, fill%|, bgnd%,|
|00001a20| 20 78 2c 20 79 29 0d 08 | ca 0e 20 20 ea 20 77 31 | x, y)..|.. . w1|
|00001a30| 2c 20 77 32 0d 08 d4 0e | 20 20 77 31 20 3d 20 31 |, w2....| w1 = 1|
|00001a40| 2e 35 0d 08 de 0e 20 20 | 77 32 20 3d 20 31 2e 38 |.5.... |w2 = 1.8|
|00001a50| 0d 08 e8 12 20 20 f2 73 | 74 61 72 74 5f 67 72 6f |.... .s|tart_gro|
|00001a60| 75 70 0d 08 f2 10 20 20 | c8 8e 20 74 79 70 65 25 |up.... |.. type%|
|00001a70| 20 ca 0d 08 fc 0c 20 20 | 20 20 c9 20 31 3a 0d 09 | ..... | . 1:..|
|00001a80| 06 2f 20 20 20 20 20 20 | f2 73 74 61 72 74 5f 70 |./ |.start_p|
|00001a90| 61 74 68 28 2d 31 2c 20 | 62 67 6e 64 25 2c 20 30 |ath(-1, |bgnd%, 0|
|00001aa0| 2c 20 30 2c 20 30 2c 20 | 30 2c 20 30 29 0d 09 10 |, 0, 0, |0, 0)...|
|00001ab0| 1b 20 20 20 20 20 20 f2 | 63 69 72 63 6c 65 28 78 |. .|circle(x|
|00001ac0| 2c 20 79 2c 20 77 32 29 | 0d 09 1a 16 20 20 20 20 |, y, w2)|.... |
|00001ad0| 20 20 f2 65 6e 64 5f 70 | 61 74 68 28 34 29 0d 09 | .end_p|ath(4)..|
|00001ae0| 24 33 20 20 20 20 20 20 | f2 73 74 61 72 74 5f 70 |$3 |.start_p|
|00001af0| 61 74 68 28 63 6c 72 25 | 2c 20 66 69 6c 6c 25 2c |ath(clr%|, fill%,|
|00001b00| 20 31 36 30 2c 20 30 2c | 20 30 2c 20 30 2c 20 30 | 160, 0,| 0, 0, 0|
|00001b10| 29 0d 09 2e 1b 20 20 20 | 20 20 20 f2 63 69 72 63 |).... | .circ|
|00001b20| 6c 65 28 78 2c 20 79 2c | 20 77 31 29 0d 09 38 16 |le(x, y,| w1)..8.|
|00001b30| 20 20 20 20 20 20 f2 65 | 6e 64 5f 70 61 74 68 28 | .e|nd_path(|
|00001b40| 34 29 0d 09 42 0c 20 20 | 20 20 c9 20 32 3a 0d 09 |4)..B. | . 2:..|
|00001b50| 4c 2f 20 20 20 20 20 20 | f2 73 74 61 72 74 5f 70 |L/ |.start_p|
|00001b60| 61 74 68 28 2d 31 2c 20 | 62 67 6e 64 25 2c 20 30 |ath(-1, |bgnd%, 0|
|00001b70| 2c 20 30 2c 20 30 2c 20 | 30 2c 20 30 29 0d 09 56 |, 0, 0, |0, 0)..V|
|00001b80| 34 20 20 20 20 20 20 f2 | 72 65 63 74 61 6e 67 6c |4 .|rectangl|
|00001b90| 65 28 78 20 2d 20 77 32 | 2c 20 79 20 2d 20 77 32 |e(x - w2|, y - w2|
|00001ba0| 2c 20 78 20 2b 20 77 32 | 2c 20 79 20 2b 20 77 32 |, x + w2|, y + w2|
|00001bb0| 29 0d 09 60 16 20 20 20 | 20 20 20 f2 65 6e 64 5f |)..`. | .end_|
|00001bc0| 70 61 74 68 28 34 29 0d | 09 6a 33 20 20 20 20 20 |path(4).|.j3 |
|00001bd0| 20 f2 73 74 61 72 74 5f | 70 61 74 68 28 63 6c 72 | .start_|path(clr|
|00001be0| 25 2c 20 66 69 6c 6c 25 | 2c 20 31 36 30 2c 20 30 |%, fill%|, 160, 0|
|00001bf0| 2c 20 30 2c 20 30 2c 20 | 30 29 0d 09 74 34 20 20 |, 0, 0, |0)..t4 |
|00001c00| 20 20 20 20 f2 72 65 63 | 74 61 6e 67 6c 65 28 78 | .rec|tangle(x|
|00001c10| 20 2d 20 77 31 2c 20 79 | 20 2d 20 77 31 2c 20 78 | - w1, y| - w1, x|
|00001c20| 20 2b 20 77 31 2c 20 79 | 20 2b 20 77 31 29 0d 09 | + w1, y| + w1)..|
|00001c30| 7e 16 20 20 20 20 20 20 | f2 65 6e 64 5f 70 61 74 |~. |.end_pat|
|00001c40| 68 28 34 29 0d 09 88 07 | 20 20 cb 0d 09 92 10 20 |h(4)....| ..... |
|00001c50| 20 f2 65 6e 64 5f 67 72 | 6f 75 70 0d 09 9c 05 e1 | .end_gr|oup.....|
|00001c60| 0d 09 a6 04 0d 09 b0 3b | f4 20 53 70 65 63 69 66 |.......;|. Specif|
|00001c70| 79 20 64 72 61 77 20 75 | 6e 69 74 73 20 74 6f 20 |y draw u|nits to |
|00001c80| 44 46 5f 49 6e 69 74 69 | 61 6c 69 73 65 46 69 6c |DF_Initi|aliseFil|
|00001c90| 65 20 2d 20 63 6f 6e 76 | 65 72 73 69 6f 6e 73 0d |e - conv|ersions.|
|00001ca0| 09 ba 38 f4 20 61 72 65 | 20 6d 61 64 65 20 69 6e |..8. are| made in|
|00001cb0| 20 50 52 4f 43 73 20 62 | 65 6c 6f 77 2e 20 54 68 | PROCs b|elow. Th|
|00001cc0| 69 73 20 70 72 6f 67 72 | 61 6d 20 72 65 71 75 69 |is progr|am requi|
|00001cd0| 72 65 73 20 61 6c 6c 0d | 09 c4 38 f4 20 66 6f 6e |res all.|..8. fon|
|00001ce0| 74 73 20 74 6f 20 62 65 | 20 64 65 63 6c 61 72 65 |ts to be| declare|
|00001cf0| 64 20 61 74 20 74 68 69 | 73 20 73 74 61 67 65 20 |d at thi|s stage |
|00001d00| 2d 20 6c 69 73 74 20 69 | 73 20 62 75 69 6c 74 0d |- list i|s built.|
|00001d10| 09 ce 36 f4 20 69 6e 20 | 74 65 6d 70 5f 62 75 66 |..6. in |temp_buf|
|00001d20| 66 25 20 66 6f 72 20 63 | 72 65 61 74 69 6f 6e 20 |f% for c|reation |
|00001d30| 6f 66 20 66 6f 6e 74 20 | 74 61 62 6c 65 20 6f 62 |of font |table ob|
|00001d40| 6a 65 63 74 2e 0d 09 d8 | 04 0d 09 e2 25 dd 20 f2 |ject....|....%. .|
|00001d50| 69 6e 69 74 5f 64 72 61 | 77 66 69 6c 65 28 69 64 |init_dra|wfile(id|
|00001d60| 24 2c 20 70 61 67 65 5f | 73 69 7a 65 25 29 0d 09 |$, page_|size%)..|
|00001d70| ec 24 20 20 24 74 65 6d | 70 5f 62 75 66 66 25 20 |.$ $tem|p_buff% |
|00001d80| 3d 20 63 61 6c 69 62 5f | 66 6f 6e 74 5f 6e 61 6d |= calib_|font_nam|
|00001d90| 65 24 0d 09 f6 2b 20 20 | 24 28 74 65 6d 70 5f 62 |e$...+ |$(temp_b|
|00001da0| 75 66 66 25 20 2b 20 34 | 30 29 20 3d 20 6c 61 62 |uff% + 4|0) = lab|
|00001db0| 65 6c 5f 66 6f 6e 74 5f | 6e 61 6d 65 24 0d 0a 00 |el_font_|name$...|
|00001dc0| 17 20 20 74 65 6d 70 5f | 62 75 66 66 25 3f 38 30 |. temp_|buff%?80|
|00001dd0| 20 3d 20 30 0d 0a 0a 60 | 20 20 c8 99 20 22 44 46 | = 0...`| .. "DF|
|00001de0| 5f 49 6e 69 74 69 61 6c | 69 73 65 46 69 6c 65 22 |_Initial|iseFile"|
|00001df0| 2c 20 31 2c 20 64 66 5f | 62 75 66 66 25 2c 2c 64 |, 1, df_|buff%,,d|
|00001e00| 66 5f 62 75 66 66 5f 73 | 69 7a 65 25 2c 20 69 64 |f_buff_s|ize%, id|
|00001e10| 24 2c 20 70 61 67 65 5f | 73 69 7a 65 25 2c 20 74 |$, page_|size%, t|
|00001e20| 65 6d 70 5f 62 75 66 66 | 25 2c 20 30 20 b8 2c 2c |emp_buff|%, 0 .,,|
|00001e30| 66 70 6f 25 0d 0a 14 05 | e1 0d 0a 1e 04 0d 0a 28 |fpo%....|.......(|
|00001e40| 18 dd 20 f2 63 6f 6d 70 | 6c 65 74 65 5f 64 72 61 |.. .comp|lete_dra|
|00001e50| 77 66 69 6c 65 0d 0a 32 | 35 20 20 c8 99 20 22 44 |wfile..2|5 .. "D|
|00001e60| 46 5f 43 6f 6d 70 6c 65 | 74 65 46 69 6c 65 22 2c |F_Comple|teFile",|
|00001e70| 20 31 2c 20 64 66 5f 62 | 75 66 66 25 2c 20 66 70 | 1, df_b|uff%, fp|
|00001e80| 6f 25 20 b8 2c 2c 66 70 | 6f 25 0d 0a 3c 05 e1 0d |o% .,,fp|o%..<...|
|00001e90| 0a 46 04 0d 0a 50 12 dd | 20 f2 73 74 61 72 74 5f |.F...P..| .start_|
|00001ea0| 67 72 6f 75 70 0d 0a 5a | 36 20 20 c8 99 20 22 44 |group..Z|6 .. "D|
|00001eb0| 46 5f 53 74 61 72 74 47 | 72 6f 75 70 22 2c 20 31 |F_StartG|roup", 1|
|00001ec0| 2c 20 64 66 5f 62 75 66 | 66 25 2c 20 66 70 6f 25 |, df_buf|f%, fpo%|
|00001ed0| 2c 20 30 20 b8 2c 2c 66 | 70 6f 25 0d 0a 64 05 e1 |, 0 .,,f|po%..d..|
|00001ee0| 0d 0a 6e 04 0d 0a 78 10 | dd 20 f2 65 6e 64 5f 67 |..n...x.|. .end_g|
|00001ef0| 72 6f 75 70 0d 0a 82 31 | 20 20 c8 99 20 22 44 46 |roup...1| .. "DF|
|00001f00| 5f 45 6e 64 47 72 6f 75 | 70 22 2c 20 31 2c 20 64 |_EndGrou|p", 1, d|
|00001f10| 66 5f 62 75 66 66 25 2c | 20 66 70 6f 25 20 b8 2c |f_buff%,| fpo% .,|
|00001f20| 2c 66 70 6f 25 0d 0a 8c | 05 e1 0d 0a 96 04 0d 0a |,fpo%...|........|
|00001f30| a0 40 dd 20 f2 73 74 61 | 72 74 5f 70 61 74 68 28 |.@. .sta|rt_path(|
|00001f40| 63 6c 72 25 2c 20 66 69 | 6c 6c 25 2c 20 77 69 64 |clr%, fi|ll%, wid|
|00001f50| 25 2c 20 64 61 73 68 25 | 2c 20 6a 6f 69 6e 25 2c |%, dash%|, join%,|
|00001f60| 20 77 6e 64 67 25 2c 20 | 63 61 70 73 25 29 0d 0a | wndg%, |caps%)..|
|00001f70| aa 25 20 20 e7 20 77 6e | 64 67 25 20 8c 20 6a 6f |.% . wn|dg% . jo|
|00001f80| 69 6e 25 20 3d 20 28 6a | 6f 69 6e 25 20 84 20 32 |in% = (j|oin% . 2|
|00001f90| 35 36 29 0d 0a b4 5a 20 | 20 c8 99 20 22 44 46 5f |56)...Z | .. "DF_|
|00001fa0| 50 61 74 68 53 74 61 72 | 74 22 2c 20 31 2c 20 64 |PathStar|t", 1, d|
|00001fb0| 66 5f 62 75 66 66 25 2c | 20 66 70 6f 25 2c 20 63 |f_buff%,| fpo%, c|
|00001fc0| 6c 72 25 2c 20 66 69 6c | 6c 25 2c 20 77 69 64 25 |lr%, fil|l%, wid%|
|00001fd0| 2c 20 64 61 73 68 25 2c | 20 6a 6f 69 6e 25 2c 20 |, dash%,| join%, |
|00001fe0| 63 61 70 73 25 20 b8 2c | 2c 66 70 6f 25 0d 0a be |caps% .,|,fpo%...|
|00001ff0| 05 e1 0d 0a c8 04 0d 0a | d2 20 dd 20 f2 72 65 63 |........|. . .rec|
|00002000| 74 61 6e 67 6c 65 28 78 | 31 2c 20 79 31 2c 20 78 |tangle(x|1, y1, x|
|00002010| 32 2c 20 79 32 29 0d 0a | dc 13 20 20 f2 6d 6f 76 |2, y2)..|.. .mov|
|00002020| 65 28 78 31 2c 20 79 31 | 29 0d 0a e6 13 20 20 f2 |e(x1, y1|).... .|
|00002030| 64 72 61 77 28 78 32 2c | 20 79 31 29 0d 0a f0 13 |draw(x2,| y1)....|
|00002040| 20 20 f2 64 72 61 77 28 | 78 32 2c 20 79 32 29 0d | .draw(|x2, y2).|
|00002050| 0a fa 13 20 20 f2 64 72 | 61 77 28 78 31 2c 20 79 |... .dr|aw(x1, y|
|00002060| 32 29 0d 0b 04 13 20 20 | f2 64 72 61 77 28 78 31 |2).... |.draw(x1|
|00002070| 2c 20 79 31 29 0d 0b 0e | 32 20 20 c8 99 20 22 44 |, y1)...|2 .. "D|
|00002080| 46 5f 50 61 74 68 43 6c | 6f 73 65 22 2c 20 31 2c |F_PathCl|ose", 1,|
|00002090| 20 64 66 5f 62 75 66 66 | 25 2c 20 66 70 6f 25 20 | df_buff|%, fpo% |
|000020a0| b8 2c 2c 66 70 6f 25 0d | 0b 18 05 e1 0d 0b 22 04 |.,,fpo%.|......".|
|000020b0| 0d 0b 2c 3a f4 20 57 72 | 69 74 65 20 70 6f 69 6e |..,:. Wr|ite poin|
|000020c0| 74 65 72 20 28 70 25 29 | 20 63 61 6c 63 75 6c 61 |ter (p%)| calcula|
|000020d0| 74 65 64 20 61 73 20 62 | 75 66 66 65 72 20 61 64 |ted as b|uffer ad|
|000020e0| 64 72 65 73 73 20 70 6c | 75 73 0d 0b 36 37 f4 20 |dress pl|us..67. |
|000020f0| 63 75 72 72 65 6e 74 20 | 66 72 65 65 20 70 6f 73 |current |free pos|
|00002100| 69 74 69 6f 6e 20 6f 66 | 66 73 65 74 2e 20 78 30 |ition of|fset. x0|
|00002110| 2c 20 79 30 20 61 6e 64 | 20 72 20 69 6e 20 6d 6d |, y0 and| r in mm|
|00002120| 2e 0d 0b 40 04 0d 0b 4a | 18 dd 20 f2 63 69 72 63 |...@...J|.. .circ|
|00002130| 6c 65 28 78 30 2c 20 79 | 30 2c 20 72 29 0d 0b 54 |le(x0, y|0, r)..T|
|00002140| 1b 20 20 ea 20 70 25 2c | 20 61 2c 20 62 2c 20 69 |. . p%,| a, b, i|
|00002150| 25 2c 20 73 25 2c 20 7a | 0d 0b 5e 1a 20 20 70 25 |%, s%, z|..^. p%|
|00002160| 20 3d 20 64 66 5f 62 75 | 66 66 25 20 2b 20 66 70 | = df_bu|ff% + fp|
|00002170| 6f 25 0d 0b 68 27 20 20 | 78 30 20 3d 20 a4 6d 6d |o%..h' |x0 = .mm|
|00002180| 32 64 75 28 78 30 29 20 | 3a 20 79 30 20 3d 20 a4 |2du(x0) |: y0 = .|
|00002190| 6d 6d 32 64 75 28 79 30 | 29 0d 0b 72 13 20 20 72 |mm2du(y0|)..r. r|
|000021a0| 20 3d 20 a4 6d 6d 32 64 | 75 28 72 29 0d 0b 7c 1d | = .mm2d|u(r)..|.|
|000021b0| 20 20 61 20 3d 20 72 20 | 2f 20 31 2e 38 31 30 35 | a = r |/ 1.8105|
|000021c0| 36 20 3a 20 62 20 3d 20 | 72 0d 0b 86 36 20 20 21 |6 : b = |r...6 !|
|000021d0| 70 25 20 3d 20 32 20 3a | 20 70 25 21 34 20 3d 20 |p% = 2 :| p%!4 = |
|000021e0| 28 78 30 20 2d 20 72 29 | 20 3a 20 70 25 21 38 20 |(x0 - r)| : p%!8 |
|000021f0| 3d 20 79 30 20 3a 20 70 | 25 20 2b 3d 20 31 32 0d |= y0 : p|% += 12.|
|00002200| 0b 90 18 20 20 e3 20 73 | 25 20 3d 20 31 20 b8 20 |... . s|% = 1 . |
|00002210| 2d 31 20 88 20 2d 32 0d | 0b 9a 14 20 20 20 20 e3 |-1 . -2.|... .|
|00002220| 20 69 25 20 3d 20 30 20 | b8 20 31 0d 0b a4 11 20 | i% = 0 |. 1.... |
|00002230| 20 20 20 20 20 21 70 25 | 20 3d 20 36 0d 0b ae 1e | !p%| = 6....|
|00002240| 20 20 20 20 20 20 70 25 | 21 34 20 3d 20 28 78 30 | p%|!4 = (x0|
|00002250| 20 2d 20 72 20 2a 20 73 | 25 29 0d 0b b8 19 20 20 | - r * s|%).... |
|00002260| 20 20 20 20 70 25 21 38 | 20 3d 20 28 79 30 20 2b | p%!8| = (y0 +|
|00002270| 20 61 29 0d 0b c2 1f 20 | 20 20 20 20 20 70 25 21 | a).... | p%!|
|00002280| 31 32 20 3d 20 28 78 30 | 20 2d 20 61 20 2a 20 73 |12 = (x0| - a * s|
|00002290| 25 29 0d 0b cc 1a 20 20 | 20 20 20 20 70 25 21 31 |%).... | p%!1|
|000022a0| 36 20 3d 20 28 79 30 20 | 2b 20 72 29 0d 0b d6 1a |6 = (y0 |+ r)....|
|000022b0| 20 20 20 20 20 20 70 25 | 21 32 30 20 3d 20 28 78 | p%|!20 = (x|
|000022c0| 30 20 2b 20 7a 29 0d 0b | e0 1a 20 20 20 20 20 20 |0 + z)..|.. |
|000022d0| 70 25 21 32 34 20 3d 20 | 28 79 30 20 2b 20 62 29 |p%!24 = |(y0 + b)|
|000022e0| 0d 0b ea 36 20 20 20 20 | 20 20 61 20 3d 20 2d 61 |...6 | a = -a|
|000022f0| 20 3a 20 62 20 3d 20 2d | 62 20 3a 20 72 20 3d 20 | : b = -|b : r = |
|00002300| 2d 72 20 3a 20 7a 20 3d | 20 2d 7a 20 3a 20 70 25 |-r : z =| -z : p%|
|00002310| 20 2b 3d 20 35 36 0d 0b | f4 09 20 20 20 20 ed 0d | += 56..|.. ..|
|00002320| 0b fe 10 20 20 20 20 70 | 25 20 2d 3d 20 38 34 0d |... p|% -= 84.|
|00002330| 0c 08 0f 20 20 20 20 c8 | 94 20 61 2c 20 72 0d 0c |... .|. a, r..|
|00002340| 12 0f 20 20 20 20 c8 94 | 20 7a 2c 20 62 0d 0c 1c |.. ..| z, b...|
|00002350| 07 20 20 ed 0d 0c 26 22 | 20 20 70 25 20 2b 3d 20 |. ...&"| p% += |
|00002360| 35 36 20 3a 20 21 70 25 | 20 3d 20 35 20 3a 20 70 |56 : !p%| = 5 : p|
|00002370| 25 20 2b 3d 20 34 0d 0c | 30 1a 20 20 66 70 6f 25 |% += 4..|0. fpo%|
|00002380| 20 3d 20 70 25 20 2d 20 | 64 66 5f 62 75 66 66 25 | = p% - |df_buff%|
|00002390| 0d 0c 3a 05 e1 0d 0c 44 | 04 0d 0c 4e 35 f4 20 54 |..:....D|...N5. T|
|000023a0| 68 65 73 65 20 50 52 4f | 43 73 20 28 6d 6f 76 65 |hese PRO|Cs (move|
|000023b0| 2f 64 72 61 77 2f 63 75 | 72 76 65 29 20 63 6f 6e |/draw/cu|rve) con|
|000023c0| 76 65 72 74 20 28 66 6c | 6f 61 74 69 6e 67 0d 0c |vert (fl|oating..|
|000023d0| 58 1e f4 20 70 6f 69 6e | 74 29 20 6d 6d 20 74 6f |X.. poin|t) mm to|
|000023e0| 20 64 72 61 77 20 75 6e | 69 74 73 2e 0d 0c 62 04 | draw un|its...b.|
|000023f0| 0d 0c 6c 11 dd 20 f2 6d | 6f 76 65 28 78 2c 20 79 |..l.. .m|ove(x, y|
|00002400| 29 0d 0c 76 13 20 20 78 | 20 3d 20 a4 6d 6d 32 64 |)..v. x| = .mm2d|
|00002410| 75 28 78 29 0d 0c 80 13 | 20 20 79 20 3d 20 a4 6d |u(x)....| y = .m|
|00002420| 6d 32 64 75 28 79 29 0d | 0c 8a 37 20 20 c8 99 20 |m2du(y).|..7 .. |
|00002430| 22 44 46 5f 50 61 74 68 | 4d 6f 76 65 22 2c 20 31 |"DF_Path|Move", 1|
|00002440| 2c 20 64 66 5f 62 75 66 | 66 25 2c 20 66 70 6f 25 |, df_buf|f%, fpo%|
|00002450| 2c 2c 78 2c 20 79 20 b8 | 2c 2c 66 70 6f 25 0d 0c |,,x, y .|,,fpo%..|
|00002460| 94 05 e1 0d 0c 9e 04 0d | 0c a8 11 dd 20 f2 64 72 |........|.... .dr|
|00002470| 61 77 28 78 2c 20 79 29 | 0d 0c b2 13 20 20 78 20 |aw(x, y)|.... x |
|00002480| 3d 20 a4 6d 6d 32 64 75 | 28 78 29 0d 0c bc 13 20 |= .mm2du|(x).... |
|00002490| 20 79 20 3d 20 a4 6d 6d | 32 64 75 28 79 29 0d 0c | y = .mm|2du(y)..|
|000024a0| c6 37 20 20 c8 99 20 22 | 44 46 5f 50 61 74 68 44 |.7 .. "|DF_PathD|
|000024b0| 72 61 77 22 2c 20 31 2c | 20 64 66 5f 62 75 66 66 |raw", 1,| df_buff|
|000024c0| 25 2c 20 66 70 6f 25 2c | 2c 78 2c 20 79 20 b8 2c |%, fpo%,|,x, y .,|
|000024d0| 2c 66 70 6f 25 0d 0c d0 | 05 e1 0d 0c da 04 0d 0c |,fpo%...|........|
|000024e0| e4 12 dd 20 f2 63 75 72 | 76 65 28 78 2c 20 79 29 |... .cur|ve(x, y)|
|000024f0| 0d 0c ee 13 20 20 78 20 | 3d 20 a4 6d 6d 32 64 75 |.... x |= .mm2du|
|00002500| 28 78 29 0d 0c f8 13 20 | 20 79 20 3d 20 a4 6d 6d |(x).... | y = .mm|
|00002510| 32 64 75 28 79 29 0d 0d | 02 38 20 20 c8 99 20 22 |2du(y)..|.8 .. "|
|00002520| 44 46 5f 50 61 74 68 43 | 75 72 76 65 22 2c 20 31 |DF_PathC|urve", 1|
|00002530| 2c 20 64 66 5f 62 75 66 | 66 25 2c 20 66 70 6f 25 |, df_buf|f%, fpo%|
|00002540| 2c 2c 78 2c 20 79 20 b8 | 2c 2c 66 70 6f 25 0d 0d |,,x, y .|,,fpo%..|
|00002550| 0c 05 e1 0d 0d 16 04 0d | 0d 20 13 dd 20 f2 65 6e |........|. .. .en|
|00002560| 64 5f 70 61 74 68 28 66 | 25 29 0d 0d 2a 35 20 20 |d_path(f|%)..*5 |
|00002570| c8 99 20 22 44 46 5f 50 | 61 74 68 45 6e 64 22 2c |.. "DF_P|athEnd",|
|00002580| 20 28 66 25 2b 31 29 2c | 20 64 66 5f 62 75 66 66 | (f%+1),| df_buff|
|00002590| 25 2c 20 66 70 6f 25 20 | b8 2c 2c 66 70 6f 25 0d |%, fpo% |.,,fpo%.|
|000025a0| 0d 34 05 e1 0d 0d 3e 04 | 0d 0d 48 1a f4 20 46 6f |.4....>.|..H.. Fo|
|000025b0| 6e 74 20 73 69 7a 65 20 | 69 6e 20 70 6f 69 6e 74 |nt size |in point|
|000025c0| 73 2e 0d 0d 52 04 0d 0d | 5c 2d dd 20 f2 73 65 6c |s...R...|\-. .sel|
|000025d0| 65 63 74 5f 66 6f 6e 74 | 28 66 6f 6e 74 24 2c 20 |ect_font|(font$, |
|000025e0| 73 69 7a 65 2c 20 66 67 | 6e 64 25 2c 20 62 67 6e |size, fg|nd%, bgn|
|000025f0| 64 25 29 0d 0d 66 56 20 | 20 c8 99 20 22 44 46 5f |d%)..fV | .. "DF_|
|00002600| 53 65 6c 65 63 74 46 6f | 6e 74 22 2c 20 31 2c 20 |SelectFo|nt", 1, |
|00002610| 64 66 5f 62 75 66 66 25 | 2c 2c 66 6f 6e 74 24 2c |df_buff%|,,font$,|
|00002620| 20 28 73 69 7a 65 20 2a | 20 32 35 36 29 2c 20 28 | (size *| 256), (|
|00002630| 73 69 7a 65 20 2a 20 32 | 35 36 29 2c 20 66 67 6e |size * 2|56), fgn|
|00002640| 64 25 2c 20 62 67 6e 64 | 25 0d 0d 70 05 e1 0d 0d |d%, bgnd|%..p....|
|00002650| 7a 04 0d 0d 84 28 f4 20 | 52 6f 74 61 74 69 6f 6e |z....(. |Rotation|
|00002660| 20 69 6e 20 64 65 67 72 | 65 65 73 2e 20 52 65 74 | in degr|ees. Ret|
|00002670| 75 72 6e 73 20 77 69 64 | 74 68 0d 0d 8e 26 f4 20 |urns wid|th...&. |
|00002680| 26 20 68 65 69 67 68 74 | 20 6f 66 20 73 74 72 69 |& height| of stri|
|00002690| 6e 67 20 69 6e 20 64 72 | 61 77 20 75 6e 69 74 73 |ng in dr|aw units|
|000026a0| 0d 0d 98 21 f4 20 28 66 | 72 6f 6d 20 6f 62 6a 65 |...!. (f|rom obje|
|000026b0| 63 74 20 62 6f 75 6e 64 | 69 6e 67 20 62 6f 78 29 |ct bound|ing box)|
|000026c0| 2e 0d 0d a2 04 0d 0d ac | 36 dd 20 f2 77 72 69 74 |........|6. .writ|
|000026d0| 65 5f 74 65 78 74 28 74 | 65 78 74 24 2c 20 78 70 |e_text(t|ext$, xp|
|000026e0| 6f 73 2c 20 79 70 6f 73 | 2c 20 72 6f 74 6e 2c 20 |os, ypos|, rotn, |
|000026f0| f8 20 77 25 2c 20 f8 20 | 68 25 29 0d 0d b6 0a 20 |. w%, . |h%).... |
|00002700| 20 ea 20 70 25 0d 0d c0 | 1a 20 20 70 25 20 3d 20 | . p%...|. p% = |
|00002710| 64 66 5f 62 75 66 66 25 | 20 2b 20 66 70 6f 25 0d |df_buff%| + fpo%.|
|00002720| 0d ca 19 20 20 78 70 6f | 73 20 3d 20 a4 6d 6d 32 |... xpo|s = .mm2|
|00002730| 64 75 28 78 70 6f 73 29 | 0d 0d d4 19 20 20 79 70 |du(xpos)|.... yp|
|00002740| 6f 73 20 3d 20 a4 6d 6d | 32 64 75 28 79 70 6f 73 |os = .mm|2du(ypos|
|00002750| 29 0d 0d de 53 20 20 c8 | 99 20 22 44 46 5f 57 72 |)...S .|. "DF_Wr|
|00002760| 69 74 65 54 65 78 74 22 | 2c 20 31 2c 20 64 66 5f |iteText"|, 1, df_|
|00002770| 62 75 66 66 25 2c 20 66 | 70 6f 25 2c 20 74 65 78 |buff%, f|po%, tex|
|00002780| 74 24 2c 20 78 70 6f 73 | 2c 20 79 70 6f 73 2c 20 |t$, xpos|, ypos, |
|00002790| 28 72 6f 74 6e 20 2a 20 | 32 35 36 29 20 b8 2c 2c |(rotn * |256) .,,|
|000027a0| 66 70 6f 25 0d 0d e8 1b | 20 20 77 25 20 3d 20 28 |fpo%....| w% = (|
|000027b0| 70 25 21 31 36 29 20 2d | 20 28 70 25 21 38 29 0d |p%!16) -| (p%!8).|
|000027c0| 0d f2 1c 20 20 68 25 20 | 3d 20 28 70 25 21 32 30 |... h% |= (p%!20|
|000027d0| 29 20 2d 20 28 70 25 21 | 31 32 29 0d 0d fc 05 e1 |) - (p%!|12).....|
|000027e0| 0d 0e 06 04 0d 0e 10 1d | dd 20 f2 73 68 69 66 74 |........|. .shift|
|000027f0| 5f 6f 62 6a 65 63 74 28 | 70 25 2c 20 78 2c 20 79 |_object(|p%, x, y|
|00002800| 29 0d 0e 1a 3e 20 20 c8 | 99 20 22 44 46 5f 53 68 |)...> .|. "DF_Sh|
|00002810| 69 66 74 4f 62 6a 65 63 | 74 22 2c 20 31 2c 20 64 |iftObjec|t", 1, d|
|00002820| 66 5f 62 75 66 66 25 2c | 20 66 70 6f 25 2c 2c 70 |f_buff%,| fpo%,,p|
|00002830| 25 2c 2c 78 2c 20 79 20 | b8 2c 2c 66 70 6f 25 0d |%,,x, y |.,,fpo%.|
|00002840| 0e 24 05 e1 0d 0e 2e 04 | 0d 0e 38 2f f4 20 20 43 |.$......|..8/. C|
|00002850| 6f 6e 76 65 72 74 73 20 | 78 2d 70 6c 6f 74 20 75 |onverts |x-plot u|
|00002860| 6e 69 74 73 20 74 6f 20 | 6d 6d 20 6f 6e 20 74 68 |nits to |mm on th|
|00002870| 65 20 70 61 67 65 2e 0d | 0e 42 04 0d 0e 4c 10 dd |e page..|.B...L..|
|00002880| 20 a4 78 70 75 32 6d 6d | 28 76 29 0d 0e 56 47 20 | .xpu2mm|(v)..VG |
|00002890| 3d 20 28 76 20 2d 20 63 | 61 6c 5f 78 6d 69 6e 29 |= (v - c|al_xmin)|
|000028a0| 20 2f 20 63 61 6c 5f 78 | 72 61 6e 67 65 20 2a 20 | / cal_x|range * |
|000028b0| 70 6c 6f 74 5f 61 72 65 | 61 5f 77 69 64 74 68 25 |plot_are|a_width%|
|000028c0| 20 2b 20 70 6c 6f 74 5f | 61 72 65 61 5f 78 6d 69 | + plot_|area_xmi|
|000028d0| 6e 25 0d 0e 60 04 0d 0e | 6a 2f f4 20 20 43 6f 6e |n%..`...|j/. Con|
|000028e0| 76 65 72 74 73 20 79 2d | 70 6c 6f 74 20 75 6e 69 |verts y-|plot uni|
|000028f0| 74 73 20 74 6f 20 6d 6d | 20 6f 6e 20 74 68 65 20 |ts to mm| on the |
|00002900| 70 61 67 65 2e 0d 0e 74 | 04 0d 0e 7e 10 dd 20 a4 |page...t|...~.. .|
|00002910| 79 70 75 32 6d 6d 28 76 | 29 0d 0e 88 48 20 3d 20 |ypu2mm(v|)...H = |
|00002920| 28 76 20 2d 20 63 61 6c | 5f 79 6d 69 6e 29 20 2f |(v - cal|_ymin) /|
|00002930| 20 63 61 6c 5f 79 72 61 | 6e 67 65 20 2a 20 70 6c | cal_yra|nge * pl|
|00002940| 6f 74 5f 61 72 65 61 5f | 68 65 69 67 68 74 25 20 |ot_area_|height% |
|00002950| 2b 20 70 6c 6f 74 5f 61 | 72 65 61 5f 79 6d 69 6e |+ plot_a|rea_ymin|
|00002960| 25 0d 0e 92 04 0d 0e 9c | 20 f4 20 43 6f 6e 76 65 |%.......| . Conve|
|00002970| 72 74 73 20 6d 6d 20 74 | 6f 20 64 72 61 77 20 75 |rts mm t|o draw u|
|00002980| 6e 69 74 73 2e 0d 0e a6 | 04 0d 0e b0 0f dd 20 a4 |nits....|...... .|
|00002990| 6d 6d 32 64 75 28 76 29 | 0d 0e ba 0a 20 20 ea 20 |mm2du(v)|.... . |
|000029a0| 77 25 0d 0e c4 1e 20 20 | 77 25 20 3d 20 36 34 30 |w%.... |w% = 640|
|000029b0| 20 2a 20 37 32 20 2f 20 | 32 35 2e 34 20 2a 20 76 | * 72 / |25.4 * v|
|000029c0| 0d 0e ce 08 3d 20 77 25 | 0d ff |....= w%|.. |
+--------+-------------------------+-------------------------+--------+--------+