Home » Personal collection » Acorn tapes » Electron_User » Electron_User_tape19b_acorn_eu_1991_february.wav » GPlot

GPlot

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 » Personal collection » Acorn tapes » Electron_User » Electron_User_tape19b_acorn_eu_1991_february.wav
Filename: GPlot
Read OK:
File size: 123D bytes
Load address: FFFF1A00
Exec address: FFFF8023
Duplicates

There are 2 duplicate copies of this file in the archive:

File contents
   10REM > Graph Plotter
   20REM by Rafael Jay
   30REM (c) The Micro User
   40PROCinit:ONERRORPROCerror
   50MODE7:PROCoff
   60os%=INKEY-256=161:IFos%DIMZ%256,Q%256:ELSEZ%=&700:Q%=&70
   70C%=FNmenu:CLS:PROCt(d$(C%))
   80ON C% GOTO90,100,110,120,130,140,150,160
   90PROCedit:GOTO50
  100MODE1:PROCbar:GOTO50
  110MODE1:PROCpie:GOTO50
  120MODE1:PROCline:GOTO50
  130PROCload:GOTO50
  140PROCsave:GOTO50
  150PROCclear:GOTO50
  160PROCcli:GOTO50
  170DEFPROCoff:VDU23,1,0;0;0;0;0;:ENDPROC
  180DEFPROCon:VDU23,1,1;0;0;0;0;:ENDPROC
  190DEFFNmenu:PROCoff:VDU26
  200FORL%=0TO1:VDU31,0,L%,129,157,131,141
  210PRINT"Graph Plotter"SPC3CHR$156:NEXT
  220PRINTTAB(0,2)CHR$145STRING$(38,",")TAB(0,24)CHR$145STRING$(38,",");:PROCt("Main Menu"):PRINT
  230PRINTTAB(5)CHR$132CHR$157SPC(32-POS)CHR$156
  240FORI%=1TOD%:FORL%=0TO1
  250PRINTTAB(5)CHR$132CHR$157SPC(2)CHR$134CHR$141d$(I%)SPC(32-POS)CHR$156
  260NEXT:NEXT
  270PRINTTAB(5)CHR$132CHR$157SPC(32-POS)CHR$156:P%=1:OP%=1:PROCh
  280REPEATG$=GET$:OP%=P%
  290IFINSTR(":;""'",G$) IFP%>1 P%=P%-1:PROCh
  300IFINSTR("?/",G$) IFP%<8 P%=P%+1:PROCh
  310UNTILG$=CHR$13:=P%
  320DEFPROCt(T$)VDU26:FORL%=0TO1
  330PRINTTAB(23,L%)CHR$131CHR$141;T$
  340NEXT:VDU28,0,23,39,3:ENDPROC
  350DEFPROCh
  360VDU31,5,2+(OP%-1)*2,132,10,8,132
  370VDU31,9,2+(OP%-1)*2,134,10,8,134
  380VDU31,5,2+(P%-1)*2,134,10,8,134
  390VDU31,9,2+(P%-1)*2,132,10,8,132
  400ENDPROC
  410DEFPROCinit:READD%:mr%=17:*FX4,1
  420DIMdata$(mr%),data(mr%),d$(D%)
  430FORI%=1TOD%:READd$(I%):NEXT:ENDPROC
  440DATA 8,Edit data,Plot bar chart,Plot pie chart,Plot line graph,Load data,Save data,Clear data,* Command
  450DEFPROCedit
  460FORL%=1TO18:PRINTTAB(0,L%)CHR$129CHR$157CHR$131SPC(19-POS)CHR$156SPC(3)CHR$132CHR$157CHR$135SPC(13)CHR$156:NEXT:VDU30
  470PRINT" Fieldname"SPC(14);"Value"
  480FORL%=0TOmr%:IFdata$(L%)>""VDU31,3,L%+1:PRINTdata$(L%);:VDU31,26,L%+1:PRINT;data(L%) ELSEPRINT
  490NEXT:P%=1:REPEAT:B%=FALSE
  500VDU31,0,P%,134,9,132:PRINTTAB(1,20);"Enter fieldname ";P%;": "SPC(15);STRING$(15,CHR$8);:F$=FNii(14)
  510VDU31,0,P%,129,9,131:IFF$>""data$(P%-1)=F$:PRINTTAB(3,P%);F$+STRING$(14-LEN(F$)," ");
  520VDU31,23,P%,134,9,132:PRINTTAB(1,20);"Enter value ";P%;": "SPC(20);STRING$(20,CHR$8);:V$=FNii(10)
  530VDU31,23,P%,132,9,135:IFV$>""data(P%-1)=VALV$:PRINTTAB(26,P%);data(P%-1);STRING$(10-LEN(V$)," ")
  540P%=P%+1:IFP%>18 P%=1
  550UNTILFALSE:ENDPROC
  560DEFFNi(T$,N%)PRINT'" "T$;:IFT$<>"*"PRINT": ";
  570=FNii(N%)
  580DEFFNii(N%)PROCon:i$="":REPEAT:G%=GET
  590IFG%>31IFG%<127IFLENi$<N%i$=i$+CHR$G%:VDUG%
  600IFG%=127IFi$>""i$=LEFT$(i$,LENi$-1):VDUG%
  610UNTILG%=13:PROCoff:=i$
  620DEFPROCerror:IFERR=17 ENDPROC
  630IFos%e$=REPORT$ELSER%=(!&FD AND&FFFF)+1:e$="":REPEATe$=e$+CHR$?R%:R%=R%+1:UNTIL?R%=0
  640e$=CHR$135+e$+CHR$145:VDU26
  650PRINTTAB(20-LENe$/2,24)e$;
  660VDU7:REPEATUNTILINKEY-99
  670VDU28,0,23,39,3:ENDPROC
  680DEFPROCcli:REPEAT$Z%=FNi("*",240):VDU14:PRINT
  690X%=Z%:Y%=Z%DIV256:CALL&FFF7:VDU15:UNTIL$Z%="":ENDPROC
  700DEFPROCclear:IFNOTFNq("Are you sure")ENDPROC
  710FORL%=0TOmr%:data$(L%)="":data(L%)=0:NEXT:ENDPROC
  720DEFPROCsave:$Z%=FNi("Enter filename",60)
  730!Q%=Z%:A%=&05:X%=Q%:Y%=Q%DIV256
  740IFUSR(&FFDD)AND&FF IFNOTFNq("Overwrite existing file")ENDPROC
  750F%=OPENOUT($Z%):FORL%=0TOmr%
  760PRINT#F%,data$(L%),data(L%)
  770NEXT:CLOSE#F%:ENDPROC
  780DEFPROCload:$Z%=FNi("Enter filename",60)
  790F%=OPENIN($Z%):IFF%=0:VDU7:ENDPROC
  800FORL%=0TOmr%:INPUT#F%,data$(L%),data(L%)
  810NEXT:CLOSE#F%:ENDPROC
  820DEFFNq(T$)PRINT'" "T$" (y/n) ? ";
  830REPEATG$=GET$:I%=INSTR("YyNn",G$)
  840UNTILI%>0:PRINTG$:=I%<3
  850DEFPROCscale:T=0:B=0:FORL%=0TOmr%
  860IFdata(L%)>T T=data(L%)
  870IFdata(L%)<B B=data(L%)
  880NEXT:GCOL0,2:MOVE200,900
  890DRAW200,150:DRAW1200,150
  900B=INT(B):T=INT(T)+1
  910R=T-B:CV=750/R:TMS%=1
  920REPEAT:IFR>100 R=R/10:TMS%=TMS%*10
  930UNTILR<100:C=0
  940ST=R/10:FORL%=150TO900 STEP75
  950MOVE200,L%:DRAW220,L%
  960PLOT21,1200,L%:VDU5:MOVE0,L%+16
  970PRINT;C:C=C+ST:NEXT:GCOL0,1
  980MOVE0,75:@%=&90A:PRINT"x";TMS% 
  990VDU4:@%=&20206:ENDPROC
 1000DEFFNcount(J%):C%=0:FORL%=0TOmr%
 1010IFdata$(L%)>""C%=C%+1
 1020NEXT:IFC%=0 =C%
 1030SZ=1000/(C%-J%):P=200:=C%
 1040DEFPROCbar:T$=FNi("Title",36):CLS
 1050N%=FNcount(0):IFN%=0 VDU7:ENDPROC
 1060@%=&20206:PROCscale:FORL%=0TOmr%
 1070Y=150+data(L%)*CV:IFdata$(L%)>""GCOL0,1:MOVEP,150:MOVEP,Y:PLOT85,P+SZ,150:PLOT85,P+SZ,Y:GCOL0,3:MOVEP,150:DRAWP,Y:DRAWP+SZ,Y:DRAWP+SZ,150:GCOL0,2
 1080DRAWP,150:PLOT21,P,20
 1090MOVEP+SZ,150:PLOT21,P+SZ,20
 1100PROClab(1):P=P+SZ:NEXT
 1110IFT$>""PROCtitle
 1120@%=&90A:PROCopts:ENDPROC
 1130DEFPROCtitle:COLOUR131:COLOUR0
 1140PRINTTAB(20-LENT$/2,1)SPC2T$SPC1
 1150ENDPROC
 1160DEFPROClab(O%)GCOL0,2
 1170A%=&0D:X%=Q%:Y%=&00:CALL&FFF1
 1180XP%=Q%!4 AND&FFFF
 1190YP%=Q%!6 AND&FFFF:VDU5
 1200IFO%=1K%=3:FORU%=62TO126 STEP32:MOVEP+(SZ-32)/2,U%:VDUASCMID$(data$(L%),K%):K%=K%-1:NEXT:VDU4
 1210IFO%=2K%=3:FORU%=62TO126 STEP32:MOVEP-16,U%:VDUASCMID$(data$(L%),K%):K%=K%-1:NEXT:VDU4
 1220MOVEXP%,YP%:ENDPROC
 1230DEFPROCline:T$=FNi("Title",36):CLS
 1240N%=FNcount(1):IFN%=0 VDU7:ENDPROC
 1250@%=&20206:PROCscale:MOVE200,150+data(0)*CV:FORL%=0TOmr%
 1260Y=150+data(L%)*CV:IFdata$(L%)>""GCOL0,3:DRAWP,Y
 1270GCOL0,2:MOVEP,150:DRAWP,170
 1280MOVEP,Y:PROClab(2):P=P+SZ:NEXT
 1290IFT$>""PROCtitle
 1300@%=&90A:PROCopts:ENDPROC
 1310DEFPROCpie:T$=FNi("Title",36):CLS
 1320T=0:FORL%=0TOmr%:IFdata$(L%)>""T=T+data(L%)
 1330NEXT:IFT=0 VDU7:ENDPROC
 1340O=360/T:VDU29,480;512;:MOVE0,400
 1350FORD=0TO360STEP4:MOVE0,0:GCOL0,1:PLOT85,SINRAD(D)*400,COSRAD(D)*400:NEXT
 1360GCOL0,2:MOVE0,0:DRAW0,400:N=0:F=0:GCOL0,2:FORD=0TO360
 1370DRAWSINRADD*400,COSRADD*400
 1380IFD>=F+data(N)*O MOVE0,0:DRAWSINRADD*400,COSRADD*400:PROCpl:F=D:N=N+1
 1390NEXT:PROCpl:GCOL0,2:FORL%=1TO(N+1)
 1400MOVE490,408-L%*40:DRAW799,408-L%*40:DRAW799,448-L%*40:DRAW490,448-L%*40:DRAW490,408-L%*40:NEXT
 1410MOVE536,408:DRAW536,408-(N+1)*40:IFT$>""PROCtitle
 1420PROCopts:ENDPROC
 1430DEFPROCpl
 1440A=SINRAD(F+data(N)*O/2)*430
 1450B=COSRAD(F+data(N)*O/2)*430
 1460VDU5:MOVEA,B
 1470GCOL0,3:MOVEA,B:IFD>180 VDU8
 1480VDU65+N:MOVE500,400-N*40
 1490VDU65+N,32:PRINTLEFT$(data$(N),7)
 1500VDU4:GCOL0,2
 1510MOVESINRADD*400,COSRADD*400
 1520ENDPROC
 1530DEFPROCopts:REPEATG%=GET
 1540IF G%=ASC"P" PROCdump
 1550IF G%=ASC"S" PROCsvg
 1560UNTILG%=32:ENDPROC
 1570DEFPROCdump
 1580REM
 1590REM Insert printer dump
 1600REM command here
 1610REM
 1620ENDPROC
 1630DEFPROCsvg
 1640IFNOTos%:*SAVE GRAPH 3000 8000
 1650IFos%:*SCREENSAVE GRAPH
 1660ENDPROC

� > Graph Plotter
� by Rafael Jay
� (c) The Micro User
(�init:��error
2�7:�off
<2os%=�-256=161:�os%�Z%256,Q%256:�Z%=&700:Q%=&70
FC%=�menu:�:�t(d$(C%))
P1� C% �DZ@,�Dd@,�Dn@,�Dx@,�tB@,�tL@,�tV@,�t`@
Z�edit:�Tr@
d�1:�bar:�Tr@
n�1:�pie:�Tr@
x�1:�line:�Tr@
��load:�Tr@
��save:�Tr@
��clear:�Tr@
��cli:�Tr@
���off:�23,1,0;0;0;0;0;:�
���on:�23,1,1;0;0;0;0;:�
�ݤmenu:�off:�26
�$�L%=0�1:�31,0,L%,129,157,131,141
��"Graph Plotter"�3�156:�
�;�0,2)�145�38,",")�0,24)�145�38,",");:�t("Main Menu"):�
��5)�132�157�(32-�)�156
��I%=1�D%:�L%=0�1
�-�5)�132�157�(2)�134�141d$(I%)�(32-�)�156
�:�
)�5)�132�157�(32-�)�156:P%=1:OP%=1:�h
�G$=�:OP%=P%
""�":;""'",G$) �P%>1 P%=P%-1:�h
,�"?/",G$) �P%<8 P%=P%+1:�h
6�G$=�13:=P%
@��t(T$)�26:�L%=0�1
J�23,L%)�131�141;T$
T�:�28,0,23,39,3:�
^��h
h"�31,5,2+(OP%-1)*2,132,10,8,132
r"�31,9,2+(OP%-1)*2,134,10,8,134
|!�31,5,2+(P%-1)*2,134,10,8,134
�!�31,9,2+(P%-1)*2,132,10,8,132
��
���init:�D%:mr%=17:*FX4,1
� �data$(mr%),data(mr%),d$(D%)
��I%=1�D%:�d$(I%):�:�
�h� 8,Edit data,Plot bar chart,Plot pie chart,Plot line graph,Load data,Save data,Clear data,* Command
�
��edit
�J�L%=1�18:�0,L%)�129�157�131�(19-�)�156�(3)�132�157�135�(13)�156:�:�30
��" Fieldname"�(14);"Value"
�K�L%=0�mr%:�data$(L%)>""�31,3,L%+1:�data$(L%);:�31,26,L%+1:�;data(L%) ��
��:P%=1:�:B%=�
�R�31,0,P%,134,9,132:�1,20);"Enter fieldname ";P%;": "�(15);�15,�8);:F$=�ii(14)
�F�31,0,P%,129,9,131:�F$>""data$(P%-1)=F$:�3,P%);F$+�14-�(F$)," ");
O�31,23,P%,134,9,132:�1,20);"Enter value ";P%;": "�(20);�20,�8);:V$=�ii(10)
O�31,23,P%,132,9,135:�V$>""data(P%-1)=�V$:�26,P%);data(P%-1);�10-�(V$)," ")
P%=P%+1:�P%>18 P%=1
&��:�
0%ݤi(T$,N%)�'" "T$;:�T$<>"*"�": ";
:=�ii(N%)
Dݤii(N%)�on:i$="":�:G%=�
N%�G%>31�G%<127�i$<N%i$=i$+�G%:�G%
X"�G%=127�i$>""i$=�i$,�i$-1):�G%
b�G%=13:�off:=i$
l��error:�=17 �
vA�os%e$=�$�R%=(!&FD �&FFFF)+1:e$="":�e$=e$+�?R%:R%=R%+1:�?R%=0
�e$=�135+e$+�145:�26
��20-�e$/2,24)e$;
�
�7:���-99
��28,0,23,39,3:�
� ��cli:�$Z%=�i("*",240):�14:�
�(X%=Z%:Y%=Z%�256:�&FFF7:�15:�$Z%="":�
�!��clear:笤q("Are you sure")�
�)�L%=0�mr%:data$(L%)="":data(L%)=0:�:�
�&��save:$Z%=�i("Enter filename",60)
�!!Q%=Z%:A%=&05:X%=Q%:Y%=Q%�256
�2�(&FFDD)�&FF 笤q("Overwrite existing file")�
�F%=�($Z%):�L%=0�mr%
��#F%,data$(L%),data(L%)
�:�#F%:�
&��load:$Z%=�i("Enter filename",60)
F%=�($Z%):�F%=0:�7:�
 %�L%=0�mr%:�#F%,data$(L%),data(L%)
*�:�#F%:�
4ݤq(T$)�'" "T$" (y/n) ? ";
>�G$=�:I%=�"YyNn",G$)
H�I%>0:�G$:=I%<3
R��scale:T=0:B=0:�L%=0�mr%
\�data(L%)>T T=data(L%)
f�data(L%)<B B=data(L%)
p�:�0,2:�200,900
z�200,150:�1200,150
�B=�(B):T=�(T)+1
�R=T-B:CV=750/R:TMS%=1
� �:�R>100 R=R/10:TMS%=TMS%*10
��R<100:C=0
�ST=R/10:�L%=150�900 �75
��200,L%:�220,L%
��21,1200,L%:�5:�0,L%+16
��;C:C=C+ST:�:�0,1
��0,75:@%=&90A:�"x";TMS% 
��4:@%=&20206:�
�ݤcount(J%):C%=0:�L%=0�mr%
��data$(L%)>""C%=C%+1
��:�C%=0 =C%
SZ=1000/(C%-J%):P=200:=C%
��bar:T$=�i("Title",36):�
N%=�count(0):�N%=0 �7:�
$@%=&20206:�scale:�L%=0�mr%
.sY=150+data(L%)*CV:�data$(L%)>""�0,1:�P,150:�P,Y:�85,P+SZ,150:�85,P+SZ,Y:�0,3:�P,150:�P,Y:�P+SZ,Y:�P+SZ,150:�0,2
8�P,150:�21,P,20
B�P+SZ,150:�21,P+SZ,20
L�lab(1):P=P+SZ:�
V�T$>""�title
`@%=&90A:�opts:�
j��title:�131:�0
t�20-�T$/2,1)�2T$�1
~�
���lab(O%)�0,2
�A%=&0D:X%=Q%:Y%=&00:�&FFF1
�XP%=Q%!4 �&FFFF
�YP%=Q%!6 �&FFFF:�5
�J�O%=1K%=3:�U%=62�126 �32:�P+(SZ-32)/2,U%:�data$(L%),K%):K%=K%-1:�:�4
�C�O%=2K%=3:�U%=62�126 �32:�P-16,U%:�data$(L%),K%):K%=K%-1:�:�4
��XP%,YP%:�
���line:T$=�i("Title",36):�
�N%=�count(1):�N%=0 �7:�
�2@%=&20206:�scale:�200,150+data(0)*CV:�L%=0�mr%
�,Y=150+data(L%)*CV:�data$(L%)>""�0,3:�P,Y
��0,2:�P,150:�P,170
�P,Y:�lab(2):P=P+SZ:�

�T$>""�title
@%=&90A:�opts:�
��pie:T$=�i("Title",36):�
(+T=0:�L%=0�mr%:�data$(L%)>""T=T+data(L%)
2�:�T=0 �7:�
<O=360/T:�29,480;512;:�0,400
F2�D=0�360�4:�0,0:�0,1:�85,��(D)*400,��(D)*400:�
P*�0,2:�0,0:�0,400:N=0:F=0:�0,2:�D=0�360
Zߵ�D*400,��D*400
d7�D>=F+data(N)*O �0,0:ߵ�D*400,��D*400:�pl:F=D:N=N+1
n�:�pl:�0,2:�L%=1�(N+1)
xP�490,408-L%*40:�799,408-L%*40:�799,448-L%*40:�490,448-L%*40:�490,408-L%*40:�
�+�536,408:�536,408-(N+1)*40:�T$>""�title
��opts:�
���pl
�A=��(F+data(N)*O/2)*430
�B=��(F+data(N)*O/2)*430
��5:�A,B
��0,3:�A,B:�D>180 �8
��65+N:�500,400-N*40
��65+N,32:�data$(N),7)
��4:�0,2
�쵲D*400,��D*400
��
���opts:�G%=�
� G%=�"P" �dump
� G%=�"S" �svg
�G%=32:�
"
��dump
,�
6� Insert printer dump
@� command here
J�
T�
^	��svg
h�os%:*SAVE GRAPH 3000 8000
r�os%:*SCREENSAVE GRAPH
|�
�
00000000  0d 00 0a 15 f4 20 3e 20  47 72 61 70 68 20 50 6c  |..... > Graph Pl|
00000010  6f 74 74 65 72 0d 00 14  13 f4 20 62 79 20 52 61  |otter..... by Ra|
00000020  66 61 65 6c 20 4a 61 79  0d 00 1e 18 f4 20 28 63  |fael Jay..... (c|
00000030  29 20 54 68 65 20 4d 69  63 72 6f 20 55 73 65 72  |) The Micro User|
00000040  0d 00 28 12 f2 69 6e 69  74 3a ee 85 f2 65 72 72  |..(..init:...err|
00000050  6f 72 0d 00 32 0b eb 37  3a f2 6f 66 66 0d 00 3c  |or..2..7:.off..<|
00000060  32 6f 73 25 3d a6 2d 32  35 36 3d 31 36 31 3a e7  |2os%=.-256=161:.|
00000070  6f 73 25 de 5a 25 32 35  36 2c 51 25 32 35 36 3a  |os%.Z%256,Q%256:|
00000080  8b 5a 25 3d 26 37 30 30  3a 51 25 3d 26 37 30 0d  |.Z%=&700:Q%=&70.|
00000090  00 46 19 43 25 3d a4 6d  65 6e 75 3a db 3a f2 74  |.F.C%=.menu:.:.t|
000000a0  28 64 24 28 43 25 29 29  0d 00 50 31 ee 20 43 25  |(d$(C%))..P1. C%|
000000b0  20 e5 8d 44 5a 40 2c 8d  44 64 40 2c 8d 44 6e 40  | ..DZ@,.Dd@,.Dn@|
000000c0  2c 8d 44 78 40 2c 8d 74  42 40 2c 8d 74 4c 40 2c  |,.Dx@,.tB@,.tL@,|
000000d0  8d 74 56 40 2c 8d 74 60  40 0d 00 5a 0f f2 65 64  |.tV@,.t`@..Z..ed|
000000e0  69 74 3a e5 8d 54 72 40  0d 00 64 11 eb 31 3a f2  |it:..Tr@..d..1:.|
000000f0  62 61 72 3a e5 8d 54 72  40 0d 00 6e 11 eb 31 3a  |bar:..Tr@..n..1:|
00000100  f2 70 69 65 3a e5 8d 54  72 40 0d 00 78 12 eb 31  |.pie:..Tr@..x..1|
00000110  3a f2 6c 69 6e 65 3a e5  8d 54 72 40 0d 00 82 0f  |:.line:..Tr@....|
00000120  f2 6c 6f 61 64 3a e5 8d  54 72 40 0d 00 8c 0f f2  |.load:..Tr@.....|
00000130  73 61 76 65 3a e5 8d 54  72 40 0d 00 96 10 f2 63  |save:..Tr@.....c|
00000140  6c 65 61 72 3a e5 8d 54  72 40 0d 00 a0 0e f2 63  |lear:..Tr@.....c|
00000150  6c 69 3a e5 8d 54 72 40  0d 00 aa 1c dd f2 6f 66  |li:..Tr@......of|
00000160  66 3a ef 32 33 2c 31 2c  30 3b 30 3b 30 3b 30 3b  |f:.23,1,0;0;0;0;|
00000170  30 3b 3a e1 0d 00 b4 1b  dd f2 6f 6e 3a ef 32 33  |0;:.......on:.23|
00000180  2c 31 2c 31 3b 30 3b 30  3b 30 3b 30 3b 3a e1 0d  |,1,1;0;0;0;0;:..|
00000190  00 be 13 dd a4 6d 65 6e  75 3a f2 6f 66 66 3a ef  |.....menu:.off:.|
000001a0  32 36 0d 00 c8 24 e3 4c  25 3d 30 b8 31 3a ef 33  |26...$.L%=0.1:.3|
000001b0  31 2c 30 2c 4c 25 2c 31  32 39 2c 31 35 37 2c 31  |1,0,L%,129,157,1|
000001c0  33 31 2c 31 34 31 0d 00  d2 1c f1 22 47 72 61 70  |31,141....."Grap|
000001d0  68 20 50 6c 6f 74 74 65  72 22 89 33 bd 31 35 36  |h Plotter".3.156|
000001e0  3a ed 0d 00 dc 3b f1 8a  30 2c 32 29 bd 31 34 35  |:....;..0,2).145|
000001f0  c4 33 38 2c 22 2c 22 29  8a 30 2c 32 34 29 bd 31  |.38,",").0,24).1|
00000200  34 35 c4 33 38 2c 22 2c  22 29 3b 3a f2 74 28 22  |45.38,",");:.t("|
00000210  4d 61 69 6e 20 4d 65 6e  75 22 29 3a f1 0d 00 e6  |Main Menu"):....|
00000220  1b f1 8a 35 29 bd 31 33  32 bd 31 35 37 89 28 33  |...5).132.157.(3|
00000230  32 2d b1 29 bd 31 35 36  0d 00 f0 14 e3 49 25 3d  |2-.).156.....I%=|
00000240  31 b8 44 25 3a e3 4c 25  3d 30 b8 31 0d 00 fa 2d  |1.D%:.L%=0.1...-|
00000250  f1 8a 35 29 bd 31 33 32  bd 31 35 37 89 28 32 29  |..5).132.157.(2)|
00000260  bd 31 33 34 bd 31 34 31  64 24 28 49 25 29 89 28  |.134.141d$(I%).(|
00000270  33 32 2d b1 29 bd 31 35  36 0d 01 04 07 ed 3a ed  |32-.).156.....:.|
00000280  0d 01 0e 29 f1 8a 35 29  bd 31 33 32 bd 31 35 37  |...)..5).132.157|
00000290  89 28 33 32 2d b1 29 bd  31 35 36 3a 50 25 3d 31  |.(32-.).156:P%=1|
000002a0  3a 4f 50 25 3d 31 3a f2  68 0d 01 18 10 f5 47 24  |:OP%=1:.h.....G$|
000002b0  3d be 3a 4f 50 25 3d 50  25 0d 01 22 22 e7 a7 22  |=.:OP%=P%.."".."|
000002c0  3a 3b 22 22 27 22 2c 47  24 29 20 e7 50 25 3e 31  |:;""'",G$) .P%>1|
000002d0  20 50 25 3d 50 25 2d 31  3a f2 68 0d 01 2c 1f e7  | P%=P%-1:.h..,..|
000002e0  a7 22 3f 2f 22 2c 47 24  29 20 e7 50 25 3c 38 20  |."?/",G$) .P%<8 |
000002f0  50 25 3d 50 25 2b 31 3a  f2 68 0d 01 36 0f fd 47  |P%=P%+1:.h..6..G|
00000300  24 3d bd 31 33 3a 3d 50  25 0d 01 40 16 dd f2 74  |$=.13:=P%..@...t|
00000310  28 54 24 29 ef 32 36 3a  e3 4c 25 3d 30 b8 31 0d  |(T$).26:.L%=0.1.|
00000320  01 4a 17 f1 8a 32 33 2c  4c 25 29 bd 31 33 31 bd  |.J...23,L%).131.|
00000330  31 34 31 3b 54 24 0d 01  54 15 ed 3a ef 32 38 2c  |141;T$..T..:.28,|
00000340  30 2c 32 33 2c 33 39 2c  33 3a e1 0d 01 5e 07 dd  |0,23,39,3:...^..|
00000350  f2 68 0d 01 68 22 ef 33  31 2c 35 2c 32 2b 28 4f  |.h..h".31,5,2+(O|
00000360  50 25 2d 31 29 2a 32 2c  31 33 32 2c 31 30 2c 38  |P%-1)*2,132,10,8|
00000370  2c 31 33 32 0d 01 72 22  ef 33 31 2c 39 2c 32 2b  |,132..r".31,9,2+|
00000380  28 4f 50 25 2d 31 29 2a  32 2c 31 33 34 2c 31 30  |(OP%-1)*2,134,10|
00000390  2c 38 2c 31 33 34 0d 01  7c 21 ef 33 31 2c 35 2c  |,8,134..|!.31,5,|
000003a0  32 2b 28 50 25 2d 31 29  2a 32 2c 31 33 34 2c 31  |2+(P%-1)*2,134,1|
000003b0  30 2c 38 2c 31 33 34 0d  01 86 21 ef 33 31 2c 39  |0,8,134...!.31,9|
000003c0  2c 32 2b 28 50 25 2d 31  29 2a 32 2c 31 33 32 2c  |,2+(P%-1)*2,132,|
000003d0  31 30 2c 38 2c 31 33 32  0d 01 90 05 e1 0d 01 9a  |10,8,132........|
000003e0  1c dd f2 69 6e 69 74 3a  f3 44 25 3a 6d 72 25 3d  |...init:.D%:mr%=|
000003f0  31 37 3a 2a 46 58 34 2c  31 0d 01 a4 20 de 64 61  |17:*FX4,1... .da|
00000400  74 61 24 28 6d 72 25 29  2c 64 61 74 61 28 6d 72  |ta$(mr%),data(mr|
00000410  25 29 2c 64 24 28 44 25  29 0d 01 ae 18 e3 49 25  |%),d$(D%).....I%|
00000420  3d 31 b8 44 25 3a f3 64  24 28 49 25 29 3a ed 3a  |=1.D%:.d$(I%):.:|
00000430  e1 0d 01 b8 68 dc 20 38  2c 45 64 69 74 20 64 61  |....h. 8,Edit da|
00000440  74 61 2c 50 6c 6f 74 20  62 61 72 20 63 68 61 72  |ta,Plot bar char|
00000450  74 2c 50 6c 6f 74 20 70  69 65 20 63 68 61 72 74  |t,Plot pie chart|
00000460  2c 50 6c 6f 74 20 6c 69  6e 65 20 67 72 61 70 68  |,Plot line graph|
00000470  2c 4c 6f 61 64 20 64 61  74 61 2c 53 61 76 65 20  |,Load data,Save |
00000480  64 61 74 61 2c 43 6c 65  61 72 20 64 61 74 61 2c  |data,Clear data,|
00000490  2a 20 43 6f 6d 6d 61 6e  64 0d 01 c2 0a dd f2 65  |* Command......e|
000004a0  64 69 74 0d 01 cc 4a e3  4c 25 3d 31 b8 31 38 3a  |dit...J.L%=1.18:|
000004b0  f1 8a 30 2c 4c 25 29 bd  31 32 39 bd 31 35 37 bd  |..0,L%).129.157.|
000004c0  31 33 31 89 28 31 39 2d  b1 29 bd 31 35 36 89 28  |131.(19-.).156.(|
000004d0  33 29 bd 31 33 32 bd 31  35 37 bd 31 33 35 89 28  |3).132.157.135.(|
000004e0  31 33 29 bd 31 35 36 3a  ed 3a ef 33 30 0d 01 d6  |13).156:.:.30...|
000004f0  1e f1 22 20 46 69 65 6c  64 6e 61 6d 65 22 89 28  |.." Fieldname".(|
00000500  31 34 29 3b 22 56 61 6c  75 65 22 0d 01 e0 4b e3  |14);"Value"...K.|
00000510  4c 25 3d 30 b8 6d 72 25  3a e7 64 61 74 61 24 28  |L%=0.mr%:.data$(|
00000520  4c 25 29 3e 22 22 ef 33  31 2c 33 2c 4c 25 2b 31  |L%)>"".31,3,L%+1|
00000530  3a f1 64 61 74 61 24 28  4c 25 29 3b 3a ef 33 31  |:.data$(L%);:.31|
00000540  2c 32 36 2c 4c 25 2b 31  3a f1 3b 64 61 74 61 28  |,26,L%+1:.;data(|
00000550  4c 25 29 20 8b f1 0d 01  ea 11 ed 3a 50 25 3d 31  |L%) .......:P%=1|
00000560  3a f5 3a 42 25 3d a3 0d  01 f4 52 ef 33 31 2c 30  |:.:B%=....R.31,0|
00000570  2c 50 25 2c 31 33 34 2c  39 2c 31 33 32 3a f1 8a  |,P%,134,9,132:..|
00000580  31 2c 32 30 29 3b 22 45  6e 74 65 72 20 66 69 65  |1,20);"Enter fie|
00000590  6c 64 6e 61 6d 65 20 22  3b 50 25 3b 22 3a 20 22  |ldname ";P%;": "|
000005a0  89 28 31 35 29 3b c4 31  35 2c bd 38 29 3b 3a 46  |.(15);.15,.8);:F|
000005b0  24 3d a4 69 69 28 31 34  29 0d 01 fe 46 ef 33 31  |$=.ii(14)...F.31|
000005c0  2c 30 2c 50 25 2c 31 32  39 2c 39 2c 31 33 31 3a  |,0,P%,129,9,131:|
000005d0  e7 46 24 3e 22 22 64 61  74 61 24 28 50 25 2d 31  |.F$>""data$(P%-1|
000005e0  29 3d 46 24 3a f1 8a 33  2c 50 25 29 3b 46 24 2b  |)=F$:..3,P%);F$+|
000005f0  c4 31 34 2d a9 28 46 24  29 2c 22 20 22 29 3b 0d  |.14-.(F$)," ");.|
00000600  02 08 4f ef 33 31 2c 32  33 2c 50 25 2c 31 33 34  |..O.31,23,P%,134|
00000610  2c 39 2c 31 33 32 3a f1  8a 31 2c 32 30 29 3b 22  |,9,132:..1,20);"|
00000620  45 6e 74 65 72 20 76 61  6c 75 65 20 22 3b 50 25  |Enter value ";P%|
00000630  3b 22 3a 20 22 89 28 32  30 29 3b c4 32 30 2c bd  |;": ".(20);.20,.|
00000640  38 29 3b 3a 56 24 3d a4  69 69 28 31 30 29 0d 02  |8);:V$=.ii(10)..|
00000650  12 4f ef 33 31 2c 32 33  2c 50 25 2c 31 33 32 2c  |.O.31,23,P%,132,|
00000660  39 2c 31 33 35 3a e7 56  24 3e 22 22 64 61 74 61  |9,135:.V$>""data|
00000670  28 50 25 2d 31 29 3d bb  56 24 3a f1 8a 32 36 2c  |(P%-1)=.V$:..26,|
00000680  50 25 29 3b 64 61 74 61  28 50 25 2d 31 29 3b c4  |P%);data(P%-1);.|
00000690  31 30 2d a9 28 56 24 29  2c 22 20 22 29 0d 02 1c  |10-.(V$)," ")...|
000006a0  17 50 25 3d 50 25 2b 31  3a e7 50 25 3e 31 38 20  |.P%=P%+1:.P%>18 |
000006b0  50 25 3d 31 0d 02 26 08  fd a3 3a e1 0d 02 30 25  |P%=1..&...:...0%|
000006c0  dd a4 69 28 54 24 2c 4e  25 29 f1 27 22 20 22 54  |..i(T$,N%).'" "T|
000006d0  24 3b 3a e7 54 24 3c 3e  22 2a 22 f1 22 3a 20 22  |$;:.T$<>"*".": "|
000006e0  3b 0d 02 3a 0c 3d a4 69  69 28 4e 25 29 0d 02 44  |;..:.=.ii(N%)..D|
000006f0  1c dd a4 69 69 28 4e 25  29 f2 6f 6e 3a 69 24 3d  |...ii(N%).on:i$=|
00000700  22 22 3a f5 3a 47 25 3d  a5 0d 02 4e 25 e7 47 25  |"":.:G%=...N%.G%|
00000710  3e 33 31 e7 47 25 3c 31  32 37 e7 a9 69 24 3c 4e  |>31.G%<127..i$<N|
00000720  25 69 24 3d 69 24 2b bd  47 25 3a ef 47 25 0d 02  |%i$=i$+.G%:.G%..|
00000730  58 22 e7 47 25 3d 31 32  37 e7 69 24 3e 22 22 69  |X".G%=127.i$>""i|
00000740  24 3d c0 69 24 2c a9 69  24 2d 31 29 3a ef 47 25  |$=.i$,.i$-1):.G%|
00000750  0d 02 62 13 fd 47 25 3d  31 33 3a f2 6f 66 66 3a  |..b..G%=13:.off:|
00000760  3d 69 24 0d 02 6c 13 dd  f2 65 72 72 6f 72 3a e7  |=i$..l...error:.|
00000770  9f 3d 31 37 20 e1 0d 02  76 41 e7 6f 73 25 65 24  |.=17 ...vA.os%e$|
00000780  3d f6 24 8b 52 25 3d 28  21 26 46 44 20 80 26 46  |=.$.R%=(!&FD .&F|
00000790  46 46 46 29 2b 31 3a 65  24 3d 22 22 3a f5 65 24  |FFF)+1:e$="":.e$|
000007a0  3d 65 24 2b bd 3f 52 25  3a 52 25 3d 52 25 2b 31  |=e$+.?R%:R%=R%+1|
000007b0  3a fd 3f 52 25 3d 30 0d  02 80 17 65 24 3d bd 31  |:.?R%=0....e$=.1|
000007c0  33 35 2b 65 24 2b bd 31  34 35 3a ef 32 36 0d 02  |35+e$+.145:.26..|
000007d0  8a 15 f1 8a 32 30 2d a9  65 24 2f 32 2c 32 34 29  |....20-.e$/2,24)|
000007e0  65 24 3b 0d 02 94 0d ef  37 3a f5 fd a6 2d 39 39  |e$;.....7:...-99|
000007f0  0d 02 9e 13 ef 32 38 2c  30 2c 32 33 2c 33 39 2c  |.....28,0,23,39,|
00000800  33 3a e1 0d 02 a8 20 dd  f2 63 6c 69 3a f5 24 5a  |3:.... ..cli:.$Z|
00000810  25 3d a4 69 28 22 2a 22  2c 32 34 30 29 3a ef 31  |%=.i("*",240):.1|
00000820  34 3a f1 0d 02 b2 28 58  25 3d 5a 25 3a 59 25 3d  |4:....(X%=Z%:Y%=|
00000830  5a 25 81 32 35 36 3a d6  26 46 46 46 37 3a ef 31  |Z%.256:.&FFF7:.1|
00000840  35 3a fd 24 5a 25 3d 22  22 3a e1 0d 02 bc 21 dd  |5:.$Z%="":....!.|
00000850  f2 63 6c 65 61 72 3a e7  ac a4 71 28 22 41 72 65  |.clear:...q("Are|
00000860  20 79 6f 75 20 73 75 72  65 22 29 e1 0d 02 c6 29  | you sure")....)|
00000870  e3 4c 25 3d 30 b8 6d 72  25 3a 64 61 74 61 24 28  |.L%=0.mr%:data$(|
00000880  4c 25 29 3d 22 22 3a 64  61 74 61 28 4c 25 29 3d  |L%)="":data(L%)=|
00000890  30 3a ed 3a e1 0d 02 d0  26 dd f2 73 61 76 65 3a  |0:.:....&..save:|
000008a0  24 5a 25 3d a4 69 28 22  45 6e 74 65 72 20 66 69  |$Z%=.i("Enter fi|
000008b0  6c 65 6e 61 6d 65 22 2c  36 30 29 0d 02 da 21 21  |lename",60)...!!|
000008c0  51 25 3d 5a 25 3a 41 25  3d 26 30 35 3a 58 25 3d  |Q%=Z%:A%=&05:X%=|
000008d0  51 25 3a 59 25 3d 51 25  81 32 35 36 0d 02 e4 32  |Q%:Y%=Q%.256...2|
000008e0  e7 ba 28 26 46 46 44 44  29 80 26 46 46 20 e7 ac  |..(&FFDD).&FF ..|
000008f0  a4 71 28 22 4f 76 65 72  77 72 69 74 65 20 65 78  |.q("Overwrite ex|
00000900  69 73 74 69 6e 67 20 66  69 6c 65 22 29 e1 0d 02  |isting file")...|
00000910  ee 17 46 25 3d ae 28 24  5a 25 29 3a e3 4c 25 3d  |..F%=.($Z%):.L%=|
00000920  30 b8 6d 72 25 0d 02 f8  1b f1 23 46 25 2c 64 61  |0.mr%.....#F%,da|
00000930  74 61 24 28 4c 25 29 2c  64 61 74 61 28 4c 25 29  |ta$(L%),data(L%)|
00000940  0d 03 02 0c ed 3a d9 23  46 25 3a e1 0d 03 0c 26  |.....:.#F%:....&|
00000950  dd f2 6c 6f 61 64 3a 24  5a 25 3d a4 69 28 22 45  |..load:$Z%=.i("E|
00000960  6e 74 65 72 20 66 69 6c  65 6e 61 6d 65 22 2c 36  |nter filename",6|
00000970  30 29 0d 03 16 18 46 25  3d 8e 28 24 5a 25 29 3a  |0)....F%=.($Z%):|
00000980  e7 46 25 3d 30 3a ef 37  3a e1 0d 03 20 25 e3 4c  |.F%=0:.7:... %.L|
00000990  25 3d 30 b8 6d 72 25 3a  e8 23 46 25 2c 64 61 74  |%=0.mr%:.#F%,dat|
000009a0  61 24 28 4c 25 29 2c 64  61 74 61 28 4c 25 29 0d  |a$(L%),data(L%).|
000009b0  03 2a 0c ed 3a d9 23 46  25 3a e1 0d 03 34 1e dd  |.*..:.#F%:...4..|
000009c0  a4 71 28 54 24 29 f1 27  22 20 22 54 24 22 20 28  |.q(T$).'" "T$" (|
000009d0  79 2f 6e 29 20 3f 20 22  3b 0d 03 3e 18 f5 47 24  |y/n) ? ";..>..G$|
000009e0  3d be 3a 49 25 3d a7 22  59 79 4e 6e 22 2c 47 24  |=.:I%=."YyNn",G$|
000009f0  29 0d 03 48 13 fd 49 25  3e 30 3a f1 47 24 3a 3d  |)..H..I%>0:.G$:=|
00000a00  49 25 3c 33 0d 03 52 1d  dd f2 73 63 61 6c 65 3a  |I%<3..R...scale:|
00000a10  54 3d 30 3a 42 3d 30 3a  e3 4c 25 3d 30 b8 6d 72  |T=0:B=0:.L%=0.mr|
00000a20  25 0d 03 5c 1a e7 64 61  74 61 28 4c 25 29 3e 54  |%..\..data(L%)>T|
00000a30  20 54 3d 64 61 74 61 28  4c 25 29 0d 03 66 1a e7  | T=data(L%)..f..|
00000a40  64 61 74 61 28 4c 25 29  3c 42 20 42 3d 64 61 74  |data(L%)<B B=dat|
00000a50  61 28 4c 25 29 0d 03 70  13 ed 3a e6 30 2c 32 3a  |a(L%)..p..:.0,2:|
00000a60  ec 32 30 30 2c 39 30 30  0d 03 7a 16 df 32 30 30  |.200,900..z..200|
00000a70  2c 31 35 30 3a df 31 32  30 30 2c 31 35 30 0d 03  |,150:.1200,150..|
00000a80  84 13 42 3d a8 28 42 29  3a 54 3d a8 28 54 29 2b  |..B=.(B):T=.(T)+|
00000a90  31 0d 03 8e 19 52 3d 54  2d 42 3a 43 56 3d 37 35  |1....R=T-B:CV=75|
00000aa0  30 2f 52 3a 54 4d 53 25  3d 31 0d 03 98 20 f5 3a  |0/R:TMS%=1... .:|
00000ab0  e7 52 3e 31 30 30 20 52  3d 52 2f 31 30 3a 54 4d  |.R>100 R=R/10:TM|
00000ac0  53 25 3d 54 4d 53 25 2a  31 30 0d 03 a2 0e fd 52  |S%=TMS%*10.....R|
00000ad0  3c 31 30 30 3a 43 3d 30  0d 03 ac 1b 53 54 3d 52  |<100:C=0....ST=R|
00000ae0  2f 31 30 3a e3 4c 25 3d  31 35 30 b8 39 30 30 20  |/10:.L%=150.900 |
00000af0  88 37 35 0d 03 b6 13 ec  32 30 30 2c 4c 25 3a df  |.75.....200,L%:.|
00000b00  32 32 30 2c 4c 25 0d 03  c0 1b f0 32 31 2c 31 32  |220,L%.....21,12|
00000b10  30 30 2c 4c 25 3a ef 35  3a ec 30 2c 4c 25 2b 31  |00,L%:.5:.0,L%+1|
00000b20  36 0d 03 ca 15 f1 3b 43  3a 43 3d 43 2b 53 54 3a  |6.....;C:C=C+ST:|
00000b30  ed 3a e6 30 2c 31 0d 03  d4 1c ec 30 2c 37 35 3a  |.:.0,1.....0,75:|
00000b40  40 25 3d 26 39 30 41 3a  f1 22 78 22 3b 54 4d 53  |@%=&90A:."x";TMS|
00000b50  25 20 0d 03 de 12 ef 34  3a 40 25 3d 26 32 30 32  |% .....4:@%=&202|
00000b60  30 36 3a e1 0d 03 e8 1e  dd a4 63 6f 75 6e 74 28  |06:.......count(|
00000b70  4a 25 29 3a 43 25 3d 30  3a e3 4c 25 3d 30 b8 6d  |J%):C%=0:.L%=0.m|
00000b80  72 25 0d 03 f2 18 e7 64  61 74 61 24 28 4c 25 29  |r%.....data$(L%)|
00000b90  3e 22 22 43 25 3d 43 25  2b 31 0d 03 fc 0f ed 3a  |>""C%=C%+1.....:|
00000ba0  e7 43 25 3d 30 20 3d 43  25 0d 04 06 1d 53 5a 3d  |.C%=0 =C%....SZ=|
00000bb0  31 30 30 30 2f 28 43 25  2d 4a 25 29 3a 50 3d 32  |1000/(C%-J%):P=2|
00000bc0  30 30 3a 3d 43 25 0d 04  10 1d dd f2 62 61 72 3a  |00:=C%......bar:|
00000bd0  54 24 3d a4 69 28 22 54  69 74 6c 65 22 2c 33 36  |T$=.i("Title",36|
00000be0  29 3a db 0d 04 1a 1b 4e  25 3d a4 63 6f 75 6e 74  |):.....N%=.count|
00000bf0  28 30 29 3a e7 4e 25 3d  30 20 ef 37 3a e1 0d 04  |(0):.N%=0 .7:...|
00000c00  24 1e 40 25 3d 26 32 30  32 30 36 3a f2 73 63 61  |$.@%=&20206:.sca|
00000c10  6c 65 3a e3 4c 25 3d 30  b8 6d 72 25 0d 04 2e 73  |le:.L%=0.mr%...s|
00000c20  59 3d 31 35 30 2b 64 61  74 61 28 4c 25 29 2a 43  |Y=150+data(L%)*C|
00000c30  56 3a e7 64 61 74 61 24  28 4c 25 29 3e 22 22 e6  |V:.data$(L%)>"".|
00000c40  30 2c 31 3a ec 50 2c 31  35 30 3a ec 50 2c 59 3a  |0,1:.P,150:.P,Y:|
00000c50  f0 38 35 2c 50 2b 53 5a  2c 31 35 30 3a f0 38 35  |.85,P+SZ,150:.85|
00000c60  2c 50 2b 53 5a 2c 59 3a  e6 30 2c 33 3a ec 50 2c  |,P+SZ,Y:.0,3:.P,|
00000c70  31 35 30 3a df 50 2c 59  3a df 50 2b 53 5a 2c 59  |150:.P,Y:.P+SZ,Y|
00000c80  3a df 50 2b 53 5a 2c 31  35 30 3a e6 30 2c 32 0d  |:.P+SZ,150:.0,2.|
00000c90  04 38 13 df 50 2c 31 35  30 3a f0 32 31 2c 50 2c  |.8..P,150:.21,P,|
00000ca0  32 30 0d 04 42 19 ec 50  2b 53 5a 2c 31 35 30 3a  |20..B..P+SZ,150:|
00000cb0  f0 32 31 2c 50 2b 53 5a  2c 32 30 0d 04 4c 14 f2  |.21,P+SZ,20..L..|
00000cc0  6c 61 62 28 31 29 3a 50  3d 50 2b 53 5a 3a ed 0d  |lab(1):P=P+SZ:..|
00000cd0  04 56 10 e7 54 24 3e 22  22 f2 74 69 74 6c 65 0d  |.V..T$>"".title.|
00000ce0  04 60 13 40 25 3d 26 39  30 41 3a f2 6f 70 74 73  |.`.@%=&90A:.opts|
00000cf0  3a e1 0d 04 6a 13 dd f2  74 69 74 6c 65 3a fb 31  |:...j...title:.1|
00000d00  33 31 3a fb 30 0d 04 74  17 f1 8a 32 30 2d a9 54  |31:.0..t...20-.T|
00000d10  24 2f 32 2c 31 29 89 32  54 24 89 31 0d 04 7e 05  |$/2,1).2T$.1..~.|
00000d20  e1 0d 04 88 11 dd f2 6c  61 62 28 4f 25 29 e6 30  |.......lab(O%).0|
00000d30  2c 32 0d 04 92 1e 41 25  3d 26 30 44 3a 58 25 3d  |,2....A%=&0D:X%=|
00000d40  51 25 3a 59 25 3d 26 30  30 3a d6 26 46 46 46 31  |Q%:Y%=&00:.&FFF1|
00000d50  0d 04 9c 13 58 50 25 3d  51 25 21 34 20 80 26 46  |....XP%=Q%!4 .&F|
00000d60  46 46 46 0d 04 a6 16 59  50 25 3d 51 25 21 36 20  |FFF....YP%=Q%!6 |
00000d70  80 26 46 46 46 46 3a ef  35 0d 04 b0 4a e7 4f 25  |.&FFFF:.5...J.O%|
00000d80  3d 31 4b 25 3d 33 3a e3  55 25 3d 36 32 b8 31 32  |=1K%=3:.U%=62.12|
00000d90  36 20 88 33 32 3a ec 50  2b 28 53 5a 2d 33 32 29  |6 .32:.P+(SZ-32)|
00000da0  2f 32 2c 55 25 3a ef 97  c1 64 61 74 61 24 28 4c  |/2,U%:...data$(L|
00000db0  25 29 2c 4b 25 29 3a 4b  25 3d 4b 25 2d 31 3a ed  |%),K%):K%=K%-1:.|
00000dc0  3a ef 34 0d 04 ba 43 e7  4f 25 3d 32 4b 25 3d 33  |:.4...C.O%=2K%=3|
00000dd0  3a e3 55 25 3d 36 32 b8  31 32 36 20 88 33 32 3a  |:.U%=62.126 .32:|
00000de0  ec 50 2d 31 36 2c 55 25  3a ef 97 c1 64 61 74 61  |.P-16,U%:...data|
00000df0  24 28 4c 25 29 2c 4b 25  29 3a 4b 25 3d 4b 25 2d  |$(L%),K%):K%=K%-|
00000e00  31 3a ed 3a ef 34 0d 04  c4 0e ec 58 50 25 2c 59  |1:.:.4.....XP%,Y|
00000e10  50 25 3a e1 0d 04 ce 1e  dd f2 6c 69 6e 65 3a 54  |P%:.......line:T|
00000e20  24 3d a4 69 28 22 54 69  74 6c 65 22 2c 33 36 29  |$=.i("Title",36)|
00000e30  3a db 0d 04 d8 1b 4e 25  3d a4 63 6f 75 6e 74 28  |:.....N%=.count(|
00000e40  31 29 3a e7 4e 25 3d 30  20 ef 37 3a e1 0d 04 e2  |1):.N%=0 .7:....|
00000e50  32 40 25 3d 26 32 30 32  30 36 3a f2 73 63 61 6c  |2@%=&20206:.scal|
00000e60  65 3a ec 32 30 30 2c 31  35 30 2b 64 61 74 61 28  |e:.200,150+data(|
00000e70  30 29 2a 43 56 3a e3 4c  25 3d 30 b8 6d 72 25 0d  |0)*CV:.L%=0.mr%.|
00000e80  04 ec 2c 59 3d 31 35 30  2b 64 61 74 61 28 4c 25  |..,Y=150+data(L%|
00000e90  29 2a 43 56 3a e7 64 61  74 61 24 28 4c 25 29 3e  |)*CV:.data$(L%)>|
00000ea0  22 22 e6 30 2c 33 3a df  50 2c 59 0d 04 f6 16 e6  |"".0,3:.P,Y.....|
00000eb0  30 2c 32 3a ec 50 2c 31  35 30 3a df 50 2c 31 37  |0,2:.P,150:.P,17|
00000ec0  30 0d 05 00 19 ec 50 2c  59 3a f2 6c 61 62 28 32  |0.....P,Y:.lab(2|
00000ed0  29 3a 50 3d 50 2b 53 5a  3a ed 0d 05 0a 10 e7 54  |):P=P+SZ:......T|
00000ee0  24 3e 22 22 f2 74 69 74  6c 65 0d 05 14 13 40 25  |$>"".title....@%|
00000ef0  3d 26 39 30 41 3a f2 6f  70 74 73 3a e1 0d 05 1e  |=&90A:.opts:....|
00000f00  1d dd f2 70 69 65 3a 54  24 3d a4 69 28 22 54 69  |...pie:T$=.i("Ti|
00000f10  74 6c 65 22 2c 33 36 29  3a db 0d 05 28 2b 54 3d  |tle",36):...(+T=|
00000f20  30 3a e3 4c 25 3d 30 b8  6d 72 25 3a e7 64 61 74  |0:.L%=0.mr%:.dat|
00000f30  61 24 28 4c 25 29 3e 22  22 54 3d 54 2b 64 61 74  |a$(L%)>""T=T+dat|
00000f40  61 28 4c 25 29 0d 05 32  0f ed 3a e7 54 3d 30 20  |a(L%)..2..:.T=0 |
00000f50  ef 37 3a e1 0d 05 3c 1f  4f 3d 33 36 30 2f 54 3a  |.7:...<.O=360/T:|
00000f60  ef 32 39 2c 34 38 30 3b  35 31 32 3b 3a ec 30 2c  |.29,480;512;:.0,|
00000f70  34 30 30 0d 05 46 32 e3  44 3d 30 b8 33 36 30 88  |400..F2.D=0.360.|
00000f80  34 3a ec 30 2c 30 3a e6  30 2c 31 3a f0 38 35 2c  |4:.0,0:.0,1:.85,|
00000f90  b5 b2 28 44 29 2a 34 30  30 2c 9b b2 28 44 29 2a  |..(D)*400,..(D)*|
00000fa0  34 30 30 3a ed 0d 05 50  2a e6 30 2c 32 3a ec 30  |400:...P*.0,2:.0|
00000fb0  2c 30 3a df 30 2c 34 30  30 3a 4e 3d 30 3a 46 3d  |,0:.0,400:N=0:F=|
00000fc0  30 3a e6 30 2c 32 3a e3  44 3d 30 b8 33 36 30 0d  |0:.0,2:.D=0.360.|
00000fd0  05 5a 14 df b5 b2 44 2a  34 30 30 2c 9b b2 44 2a  |.Z....D*400,..D*|
00000fe0  34 30 30 0d 05 64 37 e7  44 3e 3d 46 2b 64 61 74  |400..d7.D>=F+dat|
00000ff0  61 28 4e 29 2a 4f 20 ec  30 2c 30 3a df b5 b2 44  |a(N)*O .0,0:...D|
00001000  2a 34 30 30 2c 9b b2 44  2a 34 30 30 3a f2 70 6c  |*400,..D*400:.pl|
00001010  3a 46 3d 44 3a 4e 3d 4e  2b 31 0d 05 6e 1a ed 3a  |:F=D:N=N+1..n..:|
00001020  f2 70 6c 3a e6 30 2c 32  3a e3 4c 25 3d 31 b8 28  |.pl:.0,2:.L%=1.(|
00001030  4e 2b 31 29 0d 05 78 50  ec 34 39 30 2c 34 30 38  |N+1)..xP.490,408|
00001040  2d 4c 25 2a 34 30 3a df  37 39 39 2c 34 30 38 2d  |-L%*40:.799,408-|
00001050  4c 25 2a 34 30 3a df 37  39 39 2c 34 34 38 2d 4c  |L%*40:.799,448-L|
00001060  25 2a 34 30 3a df 34 39  30 2c 34 34 38 2d 4c 25  |%*40:.490,448-L%|
00001070  2a 34 30 3a df 34 39 30  2c 34 30 38 2d 4c 25 2a  |*40:.490,408-L%*|
00001080  34 30 3a ed 0d 05 82 2b  ec 35 33 36 2c 34 30 38  |40:....+.536,408|
00001090  3a df 35 33 36 2c 34 30  38 2d 28 4e 2b 31 29 2a  |:.536,408-(N+1)*|
000010a0  34 30 3a e7 54 24 3e 22  22 f2 74 69 74 6c 65 0d  |40:.T$>"".title.|
000010b0  05 8c 0b f2 6f 70 74 73  3a e1 0d 05 96 08 dd f2  |....opts:.......|
000010c0  70 6c 0d 05 a0 1b 41 3d  b5 b2 28 46 2b 64 61 74  |pl....A=..(F+dat|
000010d0  61 28 4e 29 2a 4f 2f 32  29 2a 34 33 30 0d 05 aa  |a(N)*O/2)*430...|
000010e0  1b 42 3d 9b b2 28 46 2b  64 61 74 61 28 4e 29 2a  |.B=..(F+data(N)*|
000010f0  4f 2f 32 29 2a 34 33 30  0d 05 b4 0b ef 35 3a ec  |O/2)*430.....5:.|
00001100  41 2c 42 0d 05 be 17 e6  30 2c 33 3a ec 41 2c 42  |A,B.....0,3:.A,B|
00001110  3a e7 44 3e 31 38 30 20  ef 38 0d 05 c8 17 ef 36  |:.D>180 .8.....6|
00001120  35 2b 4e 3a ec 35 30 30  2c 34 30 30 2d 4e 2a 34  |5+N:.500,400-N*4|
00001130  30 0d 05 d2 1a ef 36 35  2b 4e 2c 33 32 3a f1 c0  |0.....65+N,32:..|
00001140  64 61 74 61 24 28 4e 29  2c 37 29 0d 05 dc 0b ef  |data$(N),7).....|
00001150  34 3a e6 30 2c 32 0d 05  e6 14 ec b5 b2 44 2a 34  |4:.0,2.......D*4|
00001160  30 30 2c 9b b2 44 2a 34  30 30 0d 05 f0 05 e1 0d  |00,..D*400......|
00001170  05 fa 10 dd f2 6f 70 74  73 3a f5 47 25 3d a5 0d  |.....opts:.G%=..|
00001180  06 04 13 e7 20 47 25 3d  97 22 50 22 20 f2 64 75  |.... G%=."P" .du|
00001190  6d 70 0d 06 0e 12 e7 20  47 25 3d 97 22 53 22 20  |mp..... G%=."S" |
000011a0  f2 73 76 67 0d 06 18 0c  fd 47 25 3d 33 32 3a e1  |.svg.....G%=32:.|
000011b0  0d 06 22 0a dd f2 64 75  6d 70 0d 06 2c 05 f4 0d  |.."...dump..,...|
000011c0  06 36 19 f4 20 49 6e 73  65 72 74 20 70 72 69 6e  |.6.. Insert prin|
000011d0  74 65 72 20 64 75 6d 70  0d 06 40 12 f4 20 63 6f  |ter dump..@.. co|
000011e0  6d 6d 61 6e 64 20 68 65  72 65 0d 06 4a 05 f4 0d  |mmand here..J...|
000011f0  06 54 05 e1 0d 06 5e 09  dd f2 73 76 67 0d 06 68  |.T....^...svg..h|
00001200  1f e7 ac 6f 73 25 3a 2a  53 41 56 45 20 47 52 41  |...os%:*SAVE GRA|
00001210  50 48 20 33 30 30 30 20  38 30 30 30 0d 06 72 1a  |PH 3000 8000..r.|
00001220  e7 6f 73 25 3a 2a 53 43  52 45 45 4e 53 41 56 45  |.os%:*SCREENSAVE|
00001230  20 47 52 41 50 48 0d 06  7c 05 e1 0d ff           | GRAPH..|....|
0000123d
GPlot.m0
GPlot.m1
GPlot.m2
GPlot.m4
GPlot.m5