home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / cpm / list / filepl31.lbr / FILEPLOT.DZC / FILEPLOT.DOC
Text File  |  1987-08-29  |  12KB  |  275 lines

  1. *****************************************************************
  2. *****************************************************************
  3. ****           FILEPLOT  ---- A File Plotting Program        ****
  4. ****            by E. M. Schwartz and T. E. Bullock          ****
  5. ****                   version 3.1    6/2/86                 ****
  6. *****************************************************************
  7. *****************************************************************
  8.  
  9.  
  10. INTRODUCTION
  11.      Thi≤áá packagσá wil∞á allo≈á thσá use≥á t∩á prin⌠á plot≤á oµ      ì
  12. ááááápublishablσá qualit∙á usinτá ßá Do⌠á Matri°á printe≥á anΣá ß      ì
  13. ááááámachinσá runninτá CP═ witΦ 64╦ oµ memor∙ o≥ MSDO╙á oεá ßá P├ ì
  14. ááááácompatiblσ machinσ witΦ o≥ withou⌠ usinτ ß graphic≤ display« 
  15.  
  16. OVERVIEW
  17. áááááThσá do⌠á matri°á printe≥ caε bσ useΣ t∩ producσá ver∙á gooΣ ì
  18. áááááplot≤á froφ datß files«á  Thi≤ prograφ i≤ designeΣá t∩á reaΣ ì
  19. ááááádatß generateΣ a≤ outpu⌠ froφ othe≥ program≤ o≥ entereΣ witΦ ì
  20. áááááßá worΣá processor«á  Thσ prograφ wa≤ originall∙ writteεá iε ì
  21. áááááBASI├ anΣ theε iε Turb∩ Pasca∞ wheε i⌠ wa≤ founΣ tha⌠á speeΣ ì
  22. áááááwa≤á ver∙á important«á  Mos⌠ plottinτ program≤ fo≥á machine≤ ì
  23. áááááwitΦ graphic≤ display≤ simpl∙ usσ ß screeε dum≡ oµ thσá plo⌠ ì
  24. áááááafte≥á i⌠á i≤ buil⌠ u≡ oε thσ screen«á  Thi≤ methoΣ ha≤á thσ ì
  25. ááááádisadvantagσ oµ requirinτ ß graphic≤ displa∙ anΣ thσ limiteΣ ì
  26. áááááresolutioεá oµ thσ graphic≤ display«á  Aεá alternatσá methoΣ ì
  27. ááááábuild≤á thσá imagσá u≡ iε memor∙ anΣ theε dump≤á i⌠á t∩á thσ ì
  28. áááááprinter¼á usinτ largσ amount≤ oµ memory«  Thσ methoΣ useΣ b∙ ì
  29. áááááFILEPLO╘ i≤ t∩ generatσ thσ plo⌠ sequentially¼á storinτ onl∙ ì
  30. áááááthσá bi⌠ ma≡ fo≥ ß singlσ linσ oµ printe≥ outpu⌠ a⌠ ßá time« ì
  31. áááááThi≤ i≤ donσ iε aε efficien⌠ manne≥ s∩ tha⌠ thσ prograφ doe≤ ì
  32. ááááánot run too slowly. 
  33.  
  34. ááááá     The main features of FILEPLOT are
  35.  
  36. ááááá  -- Data input from text files
  37. ááááá  
  38. ááááá  -- Plotting of Multiple plots
  39.  
  40. ááááá  -- Plotting to the screen for initial preview
  41.  
  42. ááááá  -- Optional interpolation and grids
  43.  
  44. ááááá  -- Optional plot size and labeling
  45.  
  46. ááááá  -- Commands from the keyboard or a file
  47.  
  48. ááááá  -- Plot file output for later plotting
  49.  
  50. ááááá  -- Fast enough to be useful
  51.  
  52. ááááá  -- Multiple computer and printer support
  53.  
  54. ááááááá--áInstallation for various terminals and printersáá  
  55. è
  56. SUPPLIED FILES
  57. áááááThis library should contain the following files
  58.  
  59. ááááá     FILEPLOT.COM - A CPM COM file for use on CPM 
  60.                          machines.
  61.  
  62. ááááá     OUT.MPI      - Sample Printer Output for MPI
  63.  
  64. ááááá     OUT.EPS      - Sample Printer Output for Epson
  65.  
  66. ááááá     OUT.PRO      - Sample Printer Output for Prowriter
  67.  
  68. ááááá     DATA.RAW     - A test data file
  69.  
  70. ááááá     FILEPLOT.DAT - A file which demonstrates operation
  71. ááááá                    of the program without manual commands
  72.  
  73.           INSTALLF.COM - A program for installation of several 
  74.                          types of printers and terminals 
  75.  
  76.           FILEPINS.COM - Terminal installation program called
  77.                          by INSTALLF above.
  78.           
  79.           FILEPINS.DTA - Terminal installation data
  80.  
  81.           FILEPINS.MSG - Messages for terminal installation
  82.  
  83. ááááá Somσá oµá thesσ file≤ ma∙ havσ beeε squeezeΣá s∩á tha⌠á thσ ì
  84. áááááname≤á arσá slightl∙ modifieΣ witΦ thσ middlσ lette≥ oµá thσ ì
  85. áááááextension≤ replaceΣ b∙ Q¼á fo≥ examplσ FILEPLOT.CO═ wil∞á bσ ì
  86. áááááFILEPLOT.CQM. These files should be unsqueezed before using. 
  87.  
  88. INSTALLATION
  89.         Thi≤á prograφá i≤ installeΣ fo≥ aε ADM3▒ (o≥ LOB╧á MAX80⌐ ì
  90. áááááanΣá ßá C«á ItoΦ Prowrite≥ printer«á  Iµ yo⌡ wisΦ t∩á usσá ß ì
  91. ááááádifferen⌠á printe≥á o≥á ßá differen⌠á terminal¼á follo≈á thσ ì
  92. áááááinstallatioε procedurσ below«  Otherwise¼ ski≡ thi≤ ste≡ anΣ ì
  93. ááááádon't bother to unsqueeze the FILEPINS and INSTALLF files.
  94. ááááá   T∩á instal∞ thσ program¼á unsqueezσ al∞ oµ thσá FILEPINS¼ ì
  95. áááááINSTAL╞ anΣ FILEPLO╘ files«á Thσ FILEPIN╙ anΣ INSTALL╞ file≤ ì
  96. áááááshoulΣ bσ placeΣ oε onσ drive«  Thσ FILEPLOT.CO═ filσ shoulΣ ì
  97. ááááábσá placeΣá oε an∙ drivσ witΦ a⌠ leas⌠ witΦ a⌠ leas⌠ 24╦á oµ ì
  98. áááááfreσá space«á  Loτ ont∩ thσ drivσ witΦ thσ INSTALL╞á prograφ ì
  99. áááááanΣ ruε it«  Thσ prograφ wil∞ firs⌠ asδ fo≥ thσ drivσ t∩ usσ ì
  100. áááááfo≥á thσ FILEPLO╘ prograφ anΣ theε i⌠ wil∞ givσ yo⌡ ß choicσ ì
  101. áááááoµ printer≤ froφ thσ followinτ list:
  102.  
  103. ááááá  1. Epson (or OkiData with Plug and Play or IBM graphics Printer)
  104.  
  105. ááááá  2. ProWriter (or C. Itoh or DMP-85)
  106.  
  107. ááááá  3. Spare Printer Definition (Don''t Use it)
  108.  
  109. ááááá  4. MPI Printerè
  110. áááááOthe≥ printer≤ wil∞ bσ addeΣ late≥ a≤ thσ neeΣá arises«á  Iµ ì
  111. áááááyou≥á printe≥ i≤ no⌠ here¼á wσ wil∞ tr∙ t∩ adΣ i⌠ iµ yo⌡ caε ì
  112. ááááásenΣá u≤ completσ detail≤ oµ ho≈ thσ graphic≤á command≤á fo≥ ì
  113. áááááyour printer work. 
  114. ááááá  Thσá instal∞á prograφá wil∞á renamσá thσá olΣá versioεá oµ ì
  115. áááááFILEPLOT.CO═á t∩á FILEPLOT.BA╦á anΣ wil∞á storσá ßá modifieΣ ì
  116. áááááversion of the program on the selected drive.  
  117. ááááá  Thσá nex⌠ par⌠ oµ thσ instal∞ prograφ i≤ thσ norma∞á TURB╧ ì
  118. áááááPasca∞ instal∞ program«á  T∩ savσ space¼á thσá documentatioε ì
  119. áááááfo≥á tha⌠ prograφ i≤ no⌠ repeateΣ here«á  Follo≈ thσ prompt≤ ì
  120. ááááát∩á instal∞ standarΣ terminal≤ o≥ t∩ specif∙ ßá non-standarΣ ì
  121. áááááconfiguration«á  A⌠á thσá completioεá oµ thi≤á par⌠á oµá thσ ì
  122. áááááprogram¼á yo⌡ musa⌠ typσ ╤ t∩ quit«  Yo⌡ d∩ no⌠ neeΣ t∩ savσ ì
  123. áááááan∙á oµ thσ instal∞ files¼á onl∙ thσ FILEPLOT.CO═ filσá froφ ì
  124. áááááthis operation unless you wish to reinstall the program.  ì
  125. ì
  126. OPERATION
  127. ááááá  No≈á returεá t∩ thσ librar∙ anΣ ge⌠ thσá remaininτá files¼ ì
  128. áááááFILEPLOT.DA╘á anΣ DATA.RAW«á  T∩ checδ ou⌠ thσ prograφ usinτ ì
  129. áááááautomatioεá operation¼á loτ ont∩ thσ disδ witΦ thσá program≤ ì
  130. áááááanΣ ente≥ 
  131.  
  132. ááááá         FILEPLOT FILEPLOT.DAT
  133.  
  134. áááááThi≤á shoulΣ automaticall∙ ruε thσ prograφ usinτ thσá samplσ ì
  135. ááááádatßá se⌠á anΣá generatσ ß plo⌠ oε you≥ screeεá anΣá oεá thσ ì
  136. áááááprinter«á  Iµ i⌠ doe≤ no⌠ work¼á thσ firs⌠ suggestioε i≤á t∩ ì
  137. áááááselec⌠á thσ versioε fo≥ anothe≥ printer«á  A≤ ßá nex⌠á test¼ ì
  138. áááááunsqueezσ thσ OU╘ filσ fo≥ you≥ printer«á  Theε tr∙ t∩ prin⌠ ì
  139. ááááátha⌠ filσ directl∙ oε you≥ printer«á  Iµ thi≤ doe≤ no⌠á worδ ì
  140. áááááeither¼á makσá certaiεá tha⌠ you≥ printe≥ interfacσá o≥á thσ ì
  141. áááááprinte≥ itselµ wil∞ handlσ thσ ╕ bi⌠ printe≥ graphic≤ codes«  ì
  142. áááááIµá al∞á elsσ fails¼á yo⌡ caε writσ t∩ thσá authors«á Iµá i⌠ ì
  143. áááááworks¼ yo⌡ caε explorσ thσ prograφ furthe≥ b∙ typinτ 
  144.  
  145. ááááá         FILEPLOT
  146.  
  147. áááááanΣá theεá responΣ t∩ thσ prompts«á  Notσ tha⌠á thσá defaul⌠ ì
  148. áááááoptioεá i≤ indicateΣ b∙ thσ ╝ ╛ symbol≤ anΣ i≤á obtaineΣá b∙ ì
  149. ááááápressinτ ente≥ insteaΣ oµ thσ requesteΣ value«á  Thσ defaul⌠ ì
  150. ááááádatß se⌠ i≤ DATA.RA╫ whicΦ wσ plotteΣ earlier«  AlthougΦ thσ ì
  151. áááááoption≤áá whicΦáá thσáá prograφá offer≤á arσáá fairl∙áá selµ ì
  152. áááááexplanatory¼ somσ furthe≥ note≤ arσ giveε below«  
  153.  
  154. PREPARATION OF THE DATA
  155. áááááThσ inpu⌠ datß forma⌠ i≤ fairl∙ free«á  Yo⌡ can¼á oµ course¼ ì
  156. áááááusσá thσ samplσ datß file¼á DATA.RAW¼á t∩ seσ wha⌠ thσá datß ì
  157. áááááshoulΣ looδ like«á  Iε tha⌠ file¼á tw∩ function≤ arσá given« ì
  158. áááááThσá point≤ t∩ bσ plotteΣ arσ thσ ° valuσ followeΣ b∙ thσá ∙ ì
  159. ááááávaluσá iεá an∙á orde≥ fo≥ thσ firs⌠á function«á  Thσá seconΣ ì
  160. áááááfunctioε (iµ any⌐ i≤  signifieΣ b∙ ß non-numeriπ entr∙ oεá ß ì
  161. áááááline, for example 
  162.  
  163. ááááá           FUNCTIONTWOè
  164. ááááá   Datßá point≤ arσ separateΣ b∙ spaces«á  Therσ i≤ n∩ limi⌠ ì
  165. ááááát∩ thσ numbe≥ oµ point≤ pe≥ line¼á bu⌠ therσ mus⌠ bσ aε eveε ì
  166. ááááánumber¼á i«á e«á onl∙ completσ x,∙ pair≤ mus⌠ bσ given«  Thσ ì
  167. áááááformat may be in floating form
  168.  
  169. ááááá               1.000
  170.  
  171. áááááor in exponential form 
  172.  
  173. ááááá               1.00E+03
  174.  
  175. áááááwith a variable field length.
  176.  
  177. ááááá   Thσ optiona∞ commanΣ filσ ma∙ bσ prepareΣ usinτ an∙á tex⌠ ì
  178. áááááprocessinτá prograφ anΣ shoulΣ contaiε thσ samσ input≤á tha⌠ ì
  179. áááááyo⌡ woulΣ ente≥ froφ thσ keyboard«á  Iε thσ samplσ file¼ thσ ì
  180. áááááprompt≤á froφá thσ prograφ arσ entereΣ t∩ thσ righ⌠á oµá thσ ì
  181. ááááádatßá t∩ hel≡ yo⌡ remembe≥ wha⌠ questioε yo⌡ arσá answering« ì
  182. áááááThi≤á is¼á oµ course¼á no⌠ requireΣ anΣ caε bσ omitted«á Thσ ì
  183. áááááfilσ namσ i≤ arbitrary¼á bu⌠ mus⌠ bσ oε thσ commanΣ linσá iε ì
  184. áááááorde≥á fo≥á thσá prograφ t∩ accep⌠ thσ inpu⌠ froφá thσá filσ ì
  185. áááááinsteaΣ oµ froφ thσ keyboard«á  Yo⌡ migh⌠ examinσ thσ samplσ ì
  186. áááááfilσ carefull∙ anΣ theε tr∙ writinτ you≥ own«  
  187.  
  188. COMMENTS
  189.  
  190. áááááA.áááUse≥ entrie≤ -- Throughou⌠ these notes use≥ entrie≤ arσ ì
  191. ááááááááááshowεá b∙á appearinτ betweeε █ anΣá ]¼á althougΦá thesσ ì
  192. áááááááááábracket≤ arσ no⌠ t∩ bσ useΣ durinτ execution.
  193.     
  194. áááááB.   Anothe≥á -- The prompt:
  195. ááááá          
  196. ááááá          Another (<y> or n):         
  197. ááááá     
  198. ááááááááááresult≤ wheε ß plo⌠ i≤ complete«  T∩ agaiε ruε thσ jus⌠ ì
  199. áááááááááácompleted prograφ, [y] (the default) should be entered.
  200.   
  201. áááááC.   Casσá -- Al∞á response≤ ma∙ bσ eithe≥á uppe≥á o≥á lowe≥      
  202. áááááááááácase« 
  203.  
  204. áááááD«á  ConcatinateΣ plot≤ -- ┴ serie≤ oµ curve≤ caε bσ plotteΣ ì
  205. ááááááááááoεá thσ samσ grapΦ b∙ concatinatinτ thσ datß sucΦá tha⌠ ì
  206. ááááááááááthσ point≤ oε ß curvσ occu≥ iε continuou≤ blocks«á  Thσ ì
  207. áááááááááádifferen⌠á datßá set≤á shoulΣ bσ separateΣá b∙á ßá non-ì
  208. áááááááááánumeriπá characte≥ o≥ strinτ oε ß separatσá line«á  Thσ ì
  209. ááááááááááprograφ wil∞ coun⌠ anΣ displa∙ thσ numbe≥ oµ x,∙á pair≤ ì
  210. ááááááááááwhicΦá i⌠ ha≤ founΣ iε eacΦ se⌠ s∩ yo⌡ caε checδ t∩ seσ ì
  211. ááááááááááif the data is being read correctly.  ì
  212.  
  213.      E.á  Default≤á -- Al∞ defaul⌠ value≤ arσ showε b∙á appearinτ           ì
  214.           betweeεá ╝ anΣ >¼á a≤  iε  ¿ <y╛  o≥  ε )¼á wherσá  "yó              ì
  215. ááááááááááis thσ defaul⌠ value.
  216. áááááááááá
  217. áááááF.áááInterpolatioεá -- Linea≥á interpolatioε ma∙ bσ useΣá b∙ ìèááááááááááresponding [y] to the prompt:  
  218.  
  219. áááááááááá     Interpolation  (<y> or n)     :              .
  220. áááááááááá
  221. áááá G.áááNicσá scalinτá -- The prompt:
  222. áááááááááá     
  223. áááááááááá     Nice scaling   (<y> or n)     :
  224. áááááááááá
  225. áááááááááácaε bσ useΣ t∩ givσ ß plo⌠ scale≤ othe≥ thaε thosσ tha⌠ ì
  226. ááááááááááwoulΣáá resul⌠á froφá thσá giveεá point≤áá anΣáá sizes«  ì
  227. ááááááááááRespondinτ [y▌ (thσ default⌐ wil∞ resul⌠ iε scale≤ witΦ ì
  228. áááááááááá"niceóá griΣá sizes«á  ì
  229.  
  230. áááááH.áááPrinter or CRT -- The prompt:
  231. áááááááááá
  232. áááááááááá     <P>rinter or (C)rt:
  233.  
  234. ááááááááááwil∞á allo≈á thσ use≥ t∩ firs⌠ vie≈ ß "sketchóá oµá thσ ì
  235. ááááá     plot  oεá thσ CR╘ beforσ printing«á  Thσ sketcΦ ma∙á bσ ì
  236. ááááááááááusefu∞á t∩ avoiΣ thσ wastσ iε timσ anΣ pape≥á tha⌠á ma∙ ì
  237. ááááááááááresult≤á froφá obviousl∙ useles≤ plots«á  Sketche≤á arσ ì
  238. ááááááááááalmos⌠ instantaneous¼á whilσ plot≤ takσ froφ second≤ t∩ ì
  239. ááááááááááminute≤ dependinτ oε thσ sizσ oµ thσ plot«á  Iµ [c▌á i≤ ì
  240. ááááááááááthσ response¼ thσ followinτ prompt- t∩ asδ iµ ß printeΣ ì
  241. ááááááááááplo⌠á i≤á desired- wil∞ appea≥ unde≥ thσ sketcΦ oεá thσ ì
  242. ááááááááááCRT« 
  243.  
  244. áááááááááá     Printer (<y> or n):              .
  245.  
  246. ááááááááááNote that the defaut to this second prompt is "y". 
  247.  
  248. áááááI. FILE OUTPUT
  249. ááááá     Thσá promp⌠á whicΦ ask≤ fo≥ outpu⌠ t∩ printe≥á o≥á filσ ì
  250. áááááwil∞á causσá thσ printe≥ outpu⌠ t∩ bσ routeΣ t∩ ßá filσá fo≥ ì
  251. ááááálate≥á printint«á  Thσ resultinτ outpu⌠ filσ caε bσá printeΣ ì
  252. áááááwithou⌠á ß specia∞ plottinτ prograφ anΣ coulΣ bσ includeΣ a≤ ì
  253. áááááß par⌠ oµ ß norma∞ tex⌠ filσ t∩ includσ ß figurσ iε witΦ thσ ì
  254. ááááátexts«  However¼ somσ tex⌠ processors¼ sucΦ a≤ WordStar¼ ma∙ ì
  255. áááááno⌠á likσá t∩á havσ thi≤ sor⌠ oµ thinτ iε thσá middlσá oµá ß ì
  256. ááááádocumen⌠ file« Notσ tha⌠ i⌠ i≤ possiblσ ge⌠ largσ reduction≤ ì
  257. áááááiεá thσ numbe≥ oµ byte≤ iε thesσ file≤ b∙ thσ usua∞á squeezσ ì
  258. áááááprograms because of all of the repeated patterns.  
  259.  
  260.  
  261.  
  262. THE FINAL WORD
  263.  
  264. ááááá     Thσ author≤ wisΦ t∩ hea≥ froφ yo⌡ iµ yo⌡ havσá problem≤ ì
  265. áááááo≥ suggestions«á  Beforσ yo⌡ ask¼ thσ P├ versioε anΣ perhap≤ ì
  266. áááááthσá Pasca∞á sourcσ wil∞ bσ ou⌠ shortl∙ (I⌠ i≤ workinτá now¼ ì
  267. ááááájus⌠á no⌠á read∙ t∩ distribute⌐ fo≥ ß ver∙á nomina∞á charge«  ì
  268. áááááPleasσ writσ u≤ a⌠ 
  269.  
  270. ááááá            Professor T. E. Bullock
  271. ááááá            Department of Electrical Engineeringèááááá            University of Florida
  272. ááááá            Gainesville, FL 32611ì
  273.  
  274.  
  275.