Home » Archimedes archive » Archimedes World » AW-1995-05-Disc1.adf » AWMay95_1 » InTheMag/DrawBasic/!DrawBasic/Library/Examples/Chapter/Ex_9_10

InTheMag/DrawBasic/!DrawBasic/Library/Examples/Chapter/Ex_9_10

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Archimedes World » AW-1995-05-Disc1.adf » AWMay95_1
Filename: InTheMag/DrawBasic/!DrawBasic/Library/Examples/Chapter/Ex_9_10
Read OK:
File size: 00E3 bytes
Load address: 0000
Exec address: 0000
File contents
DIM data(11,2)
�MatRead(data())
�Screen(-1,10,-1,10)
�Symbol(7,12)
�Plot(data(),1,2)
�GraphPlot(data(),1,2)
�Quit

DATA 0,.5
DATA 1,.65
DATA 2,.6
DATA 3,.7
DATA 4,.75
DATA 5,7
DATA 6,3
DATA 7,2.5
DATA 8,2
DATA 9,1.9
DATA 10,1.8
00000000  44 49 4d 20 64 61 74 61  28 31 31 2c 32 29 0a a0  |DIM data(11,2)..|
00000010  4d 61 74 52 65 61 64 28  64 61 74 61 28 29 29 0a  |MatRead(data()).|
00000020  a0 53 63 72 65 65 6e 28  2d 31 2c 31 30 2c 2d 31  |.Screen(-1,10,-1|
00000030  2c 31 30 29 0a a0 53 79  6d 62 6f 6c 28 37 2c 31  |,10)..Symbol(7,1|
00000040  32 29 0a a0 50 6c 6f 74  28 64 61 74 61 28 29 2c  |2)..Plot(data(),|
00000050  31 2c 32 29 0a a0 47 72  61 70 68 50 6c 6f 74 28  |1,2)..GraphPlot(|
00000060  64 61 74 61 28 29 2c 31  2c 32 29 0a a0 51 75 69  |data(),1,2)..Qui|
00000070  74 0a 0a 44 41 54 41 20  30 2c 2e 35 0a 44 41 54  |t..DATA 0,.5.DAT|
00000080  41 20 31 2c 2e 36 35 0a  44 41 54 41 20 32 2c 2e  |A 1,.65.DATA 2,.|
00000090  36 0a 44 41 54 41 20 33  2c 2e 37 0a 44 41 54 41  |6.DATA 3,.7.DATA|
000000a0  20 34 2c 2e 37 35 0a 44  41 54 41 20 35 2c 37 0a  | 4,.75.DATA 5,7.|
000000b0  44 41 54 41 20 36 2c 33  0a 44 41 54 41 20 37 2c  |DATA 6,3.DATA 7,|
000000c0  32 2e 35 0a 44 41 54 41  20 38 2c 32 0a 44 41 54  |2.5.DATA 8,2.DAT|
000000d0  41 20 39 2c 31 2e 39 0a  44 41 54 41 20 31 30 2c  |A 9,1.9.DATA 10,|
000000e0  31 2e 38                                          |1.8|
000000e3