home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / math / whist.zip / WH2DTUT.MAN < prev    next >
Text File  |  1993-06-07  |  32KB  |  838 lines

  1. SHAREWARE ç WHIST, A WEATHER HISTOGRAPH FACILITY é NOT FOR SALE
  2. version 3.0
  3. * GETTING STARTED *
  4.  
  5. Section  Figure ì CONTENTS ò Page
  6. A ä 1 Ç THE MAIN MENU É ><
  7. B ä 2 Ç THE OPTIONS MENU  Ä ><
  8. C ë GETTING STARTED USING THE SAMPLE DATABASE é ><
  9. C1 ê Annual histograph ì ><
  10. C2 ê Quarterly histographs - GENERAL å ><
  11. C3 ê Quarterly histographs - DEGREE DAYS ä ><
  12. C4 ê Other considerations  ï ><
  13. D ë MENU ITEMS  - except colors ë ><
  14. E ä 3 Ç COLORS MENU - graphic î ><
  15. F ä 4 Ç PALETTE ü graphic color control à ><
  16. G ë MONOCHROME  - graphic î ><
  17. H ë LEAP YEAR DAY É ><
  18. I ë CONVERTING TEMPERATURES - A BETTER WAY TO DO IT - ><
  19. J ë WHAT'S NEXT à PLANER 3-D HISTOGRAPHS- ><
  20. K ë AUTHOR  ô ><
  21.  
  22. ═══ means PAY SPECIAL ATTENTION.
  23.  
  24. A)  THE MAIN MENU ─⌐  Figure 1 ┐
  25. │ ~ë  ä ┌─ò ┐ ê ~ä  │
  26. │ Æ │ Current locality: MNOQ  │ æ │
  27. │ Æ └─ò ┘ æ │
  28. │ ì ╔═¥ ╗ Ä │
  29. │ ì ╫  Record daily temperatures. ü ╫ Ä │
  30. │ ì ║  Graph a built-up database. ü ║ Ä │
  31. │ ì ║  Build a database. è ║ Ä │
  32. │ ì ║  Locality. Æ ║ Ä │
  33. │ ì ║  Database in ASCII (as text).   ║ Ä │
  34. │ à ╔═â ╣  Compare monthly temperatures.  ║ Ä │
  35. │ à ║ â ║  Delete a file. ì ║ Ä │
  36. │ à ║ â ║  Options. ô ║ Ä │
  37. │ à ║ â ║  Documentation. ì ║ Ä │
  38. │ à ║ â ║  Access DOS. É ║ Ä │
  39. │ à ║ â ║  Quit. û ║ Ä │
  40. │ à ║ â ╚═¥ ╝ Ä │
  41. │ à ║ ë   SELECT ü ═╝ ACCEPT Æ │
  42. │ à ║ ê or press a highlighted letter Å │
  43. │┌─ä ╨─╖ ┐│
  44. ││ Record, revise, print and file temperature data for the.Ç  ä ││
  45. │└─└ ┘│
  46. └─┬ ┘
  47.  
  48. The phrase "Current locality: MNOQ" above the main menu indicates that
  49. WHIST has found at least one MNOQ_Ç .WHS file on the data drive. It is
  50. a member of the sample database that is distributed with this program.
  51.  
  52. One letter in each menu item is highlighted.  Item "Record daily temper-
  53. atures" lies on a menu bar.  It is the currently selected item.  The bar
  54. can be moved by using the cursor (arrow) keys.
  55.  
  56. A brief description of the currently selected item appears in a box
  57. below the menu. There is a unique description keyed to each menu item.
  58. ü 
  59. ┌─┬ ┐
  60. │  SOME TERMS:- ┤ │
  61. │ ü Current year â Whichever year's data is being compared   │
  62. │ ÿ against historical data. Ä │
  63. │ ┬ │
  64. │ ü Built-up database Ç A single file that contains the averages   │
  65. │ ÿ of several years' temperatures. ç │
  66. └─┬ ┘
  67. ü 
  68. B)  THE OPTIONS MENU ¿ Figure 2
  69. ~î  ¿ ~ä 
  70. Selecting "Options" from the MAIN MENU calls out this menu:
  71. ┌─┬ ┐
  72. │ ô WEATHER HISTOGRAPH FACILITY É │
  73. │ û SELECT PROGRAM OPTIONS Æ │
  74. │ æ ╔═Ö ╗ Ä │
  75. │ æ ╫  Graphic parameters. ä ╫ Ä │
  76. │ æ ║  Compose a caption. à ║ Ä │
  77. │ æ ║  Compose a credits line. Ç ║ Ä │
  78. │ æ ║  Printer parameters. ä ║ Ä │
  79. │ ä ┌─ê ╢  Default temperature units. ║ Ä │
  80. │ ä │ ê ║  Range-alert setting. â ║ Ä │
  81. │ ä │ ê ║  Toggle opening logo. â ║ Ä │
  82. │ ä │ ê ║  Toggle closing 3-D demo.   ║ Ä │
  83. │ ä │ ê ║  Main menu. ì ║ Ä │
  84. │ ä │ ê ╚═Ö ╝ Ä │
  85. │┌─â ┴─╕ ┐│
  86. ││ Using a sample graph, select colors and other options for.Ç  é ││
  87. │└─└ ┘│
  88. └ <Esc>:Withdraw ─▓ ┘
  89. The contents of both menus is detailed in Section D, below.
  90.  
  91. C) GETTING STARTED USING THE SAMPLE DATABASE
  92. ~Ñ 
  93. Sample files MNOQBASE.WHS and MNOQ1992.WHS comprise a built-up database
  94. and a "current year" with which you can experiment.
  95.  
  96. MNOQ should be the current locality as indicated in Figure 1, above.
  97. IF IT IS NOT, proceed as follows:-
  98. ~ê 
  99. a) Select "Locality" from the main menu.
  100. b) Select "Pick an existing locality" from its sub-menu.
  101. c) Select MNOQ from the list of localities.
  102. d) Select "Main Menu" from the sub-menu.
  103.  
  104. C1) ANNUAL HISTOGRAPH - with MNOQ as the current locality
  105. =ì    ~¥ 
  106. a) Select "Graph a built-up database" from the main menu.
  107. b) Select "Employ a built-up database" from its sub-menu.
  108. c) Choose file MNOQ1992 (your only choice).
  109. d) See an annual histograph entitled LAKELAND AREA WEATHER.
  110. A credits line should read "SOURCE: Lakeland Times of
  111. Minocqua, Wisconsin."
  112.  
  113. By default, the display shows 1992 high and low temperatures
  114. superimposed upon historical data.  The historical data was
  115. derived from years 1983 through 1991 as listed under the heading
  116. BASIS.
  117.  
  118. Also by default, the historical data is smoothed through the use
  119. of 3-day moving averages.  Key <3>, which selects 3-day averaging,
  120. is highlighted in the menu.
  121.  
  122. The following keys control various aspects of the annual histograph:
  123. -┐ 
  124. <Ent> The Enter key removes/superimposes the current year upon
  125. the historical data.
  126. <1>   Selects and toggles unsmoothed HiLo/median historical data.
  127. <3>   Selects and toggles HiLo/median 3-day moving averages.
  128. <5>   Selects and toggles HiLo/median 5-day moving averages.
  129. <7>   Selects and toggles HiLo/median 7-day moving averages.
  130. <Q>   Quarterly histographs.  See Section C2, below.
  131. <B>   Hides/displays the BASIS table.
  132. <T>   Hides/displays the Title (the caption).
  133. <F>   Hides/displays the Footnote (the credits line).
  134. <L>   Hides/displays the °days Line and Y-axis notation at 65°F.
  135. <D>   Hides/displays a summation of current Degree-days.
  136. <H>   Hides/displays a summation of Historical degree-days.
  137. <M>   Hides the menu (pressing any unassigned key recalls it).
  138. <C>   Colors and monchrome selections.  See Section E, below.
  139. <U>   Cycles through Y-axis Units in °C, °F and both at once.
  140. <E>   Editor for the caption and footnote.
  141. <S>   Save is disabled.  See VARIATIONS, immediately below.
  142. <Esc> will return you to the main menu, but you may withdraw.
  143.  
  144. There are a lot of meaningful combinations.  Try them out.
  145. ~~~
  146. VARIATIONS:
  147. -å 
  148. <Q>   summons quarterly histographs.  <Tab> does the same.
  149. So does right-arrow key.  See Section C2, below.
  150.  
  151. '<S> Ç SAVE' appears after some display parameter been has
  152. changed.  It lets you re-build the database in order
  153. to incorporate any changed parameters.
  154.  
  155. Keys <F1>, <F3>, <F5> and <F7> have the same effect as keys
  156. <1>, <3>, <5> and <7> in this particular application.
  157.  
  158. <T>   will not appear on the menu if the Title is blank (you
  159. cannot remove a title that isn't there).
  160.  
  161. <F>   will not appear on the menu if the Footnote is blank.
  162.  
  163. Keys <L>, <D> and <H> will not appear on the menu when the
  164. left-hand scale is calibrated in degrees Celsius because 
  165. degree-days are associated with Fahrenheit values only.
  166.  
  167. C2) QUARTERLY HISTOGRAPHS - GENERAL
  168. =¢ 
  169. Going on to quarterly histographs, key <Q> has more work to do.
  170. -╗ 
  171. <Q>   cycles the display through the four quarters of the
  172. "current year".  The vertical lines dividing quarters
  173. are placed accurately in relation to the quantity of
  174. days in each quarter, leap years included.
  175.  
  176. <Tab> performs the same function as key <Q>.  Better yet,
  177. the left- and right-arrow keys facilitate walking
  178. back and forth through the four quarters of the year.
  179.  
  180. <T>, <F>, <C>, <U>, <E> and <S> are absent from quarterly
  181. graphs.  Their functions are confined to the annual graph.
  182.  
  183. You have many more combinations to try.  Most are quite
  184. useful. ~Ç 
  185.  
  186. C3) QUARTERLY HISTOGRAPHS - DEGREE DAYS
  187. =ƒ 
  188. The magic number is sixty-five degrees Fahrenheit.
  189.  
  190. (I do not know the magic number, if any, for Celsius so keys <L>,
  191. <D> and <H> go dead when graphing in Celsius-only. I suspect that
  192. the magic number would differ in different countries.)
  193.  
  194. If the median temperature for any one day falls below 65°F, the
  195. amount by which it lies below 65° is that many heating degree-days.
  196. ~à 
  197. For example, if the median temperature for some day is 45°F,
  198. then twenty heating degree-days are added to the total for
  199. the year:  65 - 45 = 20 heating degree-days.
  200. ~â 
  201. In a like manner, cooling degree-days are determined by the amount
  202. that the median temperature for a particular day exceeds 65°F.
  203.  
  204. For example, if the median temperature for some day is 80F°,
  205. then fifteen cooling degree-days are added to the total for
  206. the year:  80 - 65 = 15 cooling degree-days.
  207. ~â 
  208. If the median temperature for some particular day is 65°F exactly,
  209. then no heating or cooling degree-days are added to the totals for
  210. the year.
  211.  
  212. Degree-days are important to anyone who provides energy, uses
  213. energy or grows crops.  That is, everyone.  For example, public
  214. utilities use degree-day predictions to determine their fuel and
  215. water requirements.  Likewise, the Department of Transportation
  216. can decide how much salt they need to kill the last tree, dissolve
  217. the last bridge and corrode traffic to a dead stop.
  218.  
  219. Whenever you superimpose the current year (1992 in this case) upon
  220. MEDIAN historical data, a °days line is drawn on the graph at 65°F.
  221. The total heating and cooling degree-days for the quarter appear
  222. below the graph.
  223.  
  224. Key <D> toggles degree-days off/on the display.
  225.  
  226. Notice the tic-mark across the center (median) of each day's
  227. temperature range. The distance between that tic-mark and the
  228. degree-days line indicates the quantity of degree-days added
  229. for that day.
  230.  
  231. C4) OTHER CONSIDERATIONS
  232. =É 
  233. <Esc> recalls the annual histograph.  So does the center key
  234. key on the numeric key pad; the <5> key, that is.
  235. ~ï 
  236. <Esc>, again, returns you to the main menu.
  237.  
  238. ═══   If you make MNOQ the default locality, you can try out everything
  239. that this program can do.  If you change a MNOQ file it will be
  240. forever changed.  I will not elaborate.
  241.  
  242. A special file, USERPREF.WHS, contains a number of options that
  243. become the default parameters for new built-up databases.
  244.  
  245. ═══   Select "Graphic parameters" from the options menu to control the
  246. default parameters that used when creating a built-up database.
  247.  
  248. File USER1992.WHS is associated with USERPREF.WHS.  Sample files
  249. MNOQ1983.WHS through MNOQ1992.WHS are identical in content to
  250. the files from which USERPREF.WHS and USER1992.WHS were created.
  251.  
  252. D) MENU ITEMS - described out of order.
  253. ~å 
  254. D1) Documentation.
  255. =ë 
  256. Selecting this item opens a sub-menu from which you can select:
  257.  
  258. D1a) Getting started.
  259. -ï 
  260. This document.
  261.  
  262. D1b) Purpose/features/limits.
  263. -ô 
  264. ═══ å If you haven't read that document, please do so.
  265. ~ê 
  266. D2) Locality.
  267. =ä 
  268. Selecting this item opens another menu. That menu lets you
  269. select from a list of existing localities OR create a new
  270. one:
  271. D2a) Pick an existing locality.
  272. -ò 
  273. If there is more than one locality in the data base, you
  274. can select the one that you want to work with.  Locality
  275. MNOQ is a sample that accompaies this program. Disk space
  276. permitting, you can add up to 219 more.
  277.  
  278. D2b) Originate a locality.
  279. -É 
  280. ═══ å Start here when you want to create an new database.
  281. ^« 
  282. Upon selecting this item, you are asked to enter a unique
  283. locality name.  Instructions are on the screen.  Invent a
  284. four-letter code name for the geographic area of interest
  285. and enter it.
  286.  
  287. Next, enter some year for which you have actual temperature
  288. data. æ ~¥ 
  289. ~Ç 
  290. You are asked whether or not you are satisfied with your
  291. entries.  If so, press <Y> to create the first data file
  292. for the new locality.
  293.  
  294. Now you will see a data-entry screen for January of the
  295. appropriate year.  It is divided into weeks with the days
  296. named and numbered.  And it is shot full of question marks.
  297.  
  298. A question mark is used to represent a non-temperature
  299. because numeric zero (0) is a valid temperature.
  300.  
  301. ═══ å WHEN ENTERING DATA, YOU CAN ENTER A QUESTION MARK (?)
  302. OR -99 TO REPRESENT AN UNKNOWN TEMPERATURE (this program
  303. understands -99 to be a question mark).
  304.  
  305. A TEMPERATURE VALUE IS NOT ACCEPTED UNTIL YOU PRESS THE
  306. <Enter> KEY.
  307.  
  308. The cursor control keys are active.  Additional instruct-
  309. ions can be found on the screen.
  310.  
  311. Four values are calculated and displayed as you enter
  312. daily tempreatures.  They are the average low, average
  313. high, heating degree-days and cooling degree-days for
  314. the current month.
  315.  
  316. The statement "<F10> Print/file ASCII." can be found in
  317. the data-entry grid.  Pressing <F10> opens a menu that
  318. facilitates sending the entire year's data to a printer
  319. or to a special text file.  The file's extension will
  320. be .WHF for Fahrenheit or .WHC for Celsius.  Otherwise
  321. the filename will be the same as that of its source file.
  322.  
  323. Output to a printer or a text file includes the monthly
  324. averages and degree-day values described above.
  325.  
  326. D3) Record daily temperatures.
  327. =ò 
  328. Select this item to add or edit daily temperatures for the
  329. current locality.  You may have to change localities or
  330. create a new one before selecting this menu item.
  331.  
  332. You are presented with a list of existing files for the
  333. current locality.  You may select one of them or you may
  334. press <Esc> and then enter the year to be added or revised.
  335.  
  336. If you enter a year for which there is no file, another menu
  337. lets you withdraw, try again or create the file. If you elect
  338. to create the file, it will be created without further to-do.
  339.  
  340. Whether you select an existing file or create a new one, you
  341. will see a data-entry screen for some month within the appro-
  342. priate year.  It will be January if you are creating a new
  343. file. Otherwise, it will be the month beyond which no temper-
  344. atures have been entered.
  345.  
  346. Read Section D2b, 'Originate a locality', for more about the
  347. data-entry screen.
  348.  
  349. D4) Build a database.
  350. =î 
  351. ═══   Select this item to display a histograph based upon two or
  352. more years' of temperature data.
  353.  
  354. You can create a built-up database unique to the current
  355. locality from an annual histograph display.
  356.  
  357. To create a built-up database, with an annual histograph on
  358. the screen, press <S> for SAVE.  You MAY change your mind.
  359.  
  360. If you persist, a built-up database will be created using values
  361. that came from the files listed under BASIS on the display.
  362.  
  363. The "current year", that is, the year being compared against the
  364. average of all of the others, is NOT included in the built-up
  365. database.  Repeat; the current year is not included.
  366. ~ê 
  367. A built-up database has the advantages of loading quickly and
  368. carrying with it its unique title, credit line, colors and some
  369. other options. All of the computations have been made; you will
  370. not have to wait for them in the future.
  371.  
  372. ═══   The disadvantage of a built-up database is that it must be
  373. re-built if you change any of the data from which it was built.
  374. In other words, YOU HAVE TO REMEMBER TO RE-BUILD IT.  SO, KEEP
  375. THE FILES FROM WHICH THE DATABASE WAS BUILT unless you just
  376. love performing data entry (720 values per non-leaping year).
  377.  
  378. ═══   To experiment, use the sample MNOQ files to assemble and save
  379. built-up databases. Ç ~ì 
  380.  
  381. ═══   You can build up to 100 databases per locality.  Numbering
  382. is automatic.   For example, Minocqua databases would be
  383. named MNOQ00WH.DBS through MNOQ99WH.DBS.
  384.  
  385. It is not possible to reconstruct the original data from a
  386. built-up database because gobs of intermediate values have
  387. been discarded.
  388. ü 
  389. D5) Graph a built-up database.
  390. =ò 
  391. Selecting this menu item opens another menu that lets you
  392. employ an existing built-up database OR create a new one.
  393.  
  394. D5a) Employ a built-up database.
  395. -û 
  396. Select this item to a see histographs that compares
  397. the "current year" against a built-up database for
  398. the current locality.
  399.  
  400. You will have to choose from a list of databases if
  401. there is more than one built-up database for the
  402. current locality. To learn what a database contains,
  403. highlight its filename and press the <Tab> key.
  404.  
  405. Having selected a built-up database, you are presented
  406. with a list of files that are not already a part of
  407. the built-up database. ä ~~~
  408.  
  409. Select one and see its histographs.  You will not have
  410. to wait for lot of computation.
  411.  
  412. D5b) Create a built-up database.
  413. -û 
  414. If you have a record of 'normal' daily temperatures,
  415. select this procedure to create a built-up database.
  416.  
  417. ═══ å YOU WILL SAVE YOURSELF A LOT OF WORK. You will enter
  418. 720 values; a high temperature and a low temperature
  419. for each day of the year.  That, opposed to entering
  420. several years' worth of highs and lows in order to 
  421. build a meaningful database.
  422.  
  423. First, you are asked enter a four-character locality
  424. code for the new database.  It can be for an existing
  425. locality or a new one.
  426.  
  427. Next, you must enter the span of years that is repre-
  428. sented by the 'normal' temperatures. It is needed for
  429. the BASIS table that appears on the histograph display;
  430. it does not enter into the computations.
  431.  
  432. BUT, BE CAREFUL to exclude the 'current year' from the
  433. span of years (this program refuses to compare any year
  434. against a database if that year is, itself, a part of
  435. the database).
  436.  
  437. The next screen facilitates excluding from the range
  438. of years any year(s) that is not applicable to the
  439. new database.
  440.  
  441. Next, you can compose a unique title and a credits line
  442. for the new database.  Your response here does NOT affect
  443. the title or credits line of any other database.
  444.  
  445. And, finally, a temporary database, extension .RAW, is
  446. created and then you are presented with a data-entry
  447. screen similar to the one described under 'Originate
  448. a locality', above.  But the days are not named and
  449. there is no provision for leap year day. It expects
  450. you to enter 365 average lows and 365 average highs.
  451.  
  452. The temporary file is discarded if you enter no values
  453. at all.  Otherwise, it is renamed to reflect its assigned
  454. locality.
  455.  
  456. See Section H for more about leap year day.
  457.  
  458. D6) Database in ASCII (as text).
  459. =ù 
  460. Built-up databases are in a format that looks like nonsense
  461. to a text editor.  With this feature you can view, print or
  462. file the contents of a database as 'clear text' in either
  463. Fahrenheit or Celsius values.
  464.  
  465. ═══   Because this program was written to graph temperature data,
  466. not to produce tables, the data is stored as Y-axis pixel
  467. positions.  Pixels are integer values.  Averages are not.
  468.  
  469. ═══   That leads to inaccuracy in recovering average temperatures
  470. from a built-up database.  So, some values produced for the
  471. following tables can be in error by one or two degrees F.
  472. Seldom one; very seldom two.
  473.  
  474. D6a) View database in ASCII values.
  475. -Ö 
  476. Displays the values contained in the database, with
  477. headings. Use this feature to discover the averages
  478. for some particular day of the year. You can scroll
  479. through the entire database.  There are 1,464 rows
  480. of temperature data in the table.
  481.  
  482. D6b) Print database in ASCII values.
  483. -Ü 
  484. Print the values contained in the database, formatted
  485. with headers, page numbers and an explanation of leap
  486. year values.  The printout will be seventeen pages
  487. long.  Oh, yes, seventeen!
  488.  
  489. D6c) File database in ASCII values.
  490. -Ö 
  491. Create a ASCII file containing all the values in the
  492. database, with headers.  The file will be named after
  493. its database, but with extension WHF or WHC instead
  494. of WHS.  It can be read into almost any text editor.
  495.  
  496. Extension WHF denotes Fahrenheit and WHC denotes
  497. Celsius.  You can have one of each.  Either will
  498. be about about 45K-bytes long.
  499. é 
  500. -- more --
  501.  
  502. D7) Compare monthly temperatures.
  503. =ÿ 
  504. This feature displays and prints a digest of temperatures on
  505. a month-by-month basis over a span of years.
  506.  
  507. A tabular JANUARY digest is displayed after you select two or
  508. more years from a list of files for the current location.
  509.  
  510. The table shows the EXTEREME HIGH, EXTREME LOW, AVERAGE HIGH,
  511. AVERAGE LOW, COOLING DEGREE-DAYS and HEATING DEGREE-DAYS for
  512. each selected year.  Values are given in degrees Fahrenheit.
  513.  
  514. Instructions to change months, scroll years (if applicable),
  515. change to Celsius values --and back again-- and print the
  516. table all appear on the screen
  517.  
  518. Degree-days are not show or printed when working with Celsius
  519. values.
  520.  
  521. ü 
  522. -- more --
  523.  
  524. D8) Delete a file.
  525. =è 
  526. Select this item to delete a data file that has been created
  527. by this program.  From a sub-menu select:
  528.  
  529. D8a) Delete a built-up database.
  530. -û 
  531. If there is only one built-up database for the current
  532. locality you can delete it with a bit of effort.  Just
  533. follow instructions.
  534.  
  535. Otherwise, you are presented with a list of built-up
  536. databases for the current locality.  To learn what a
  537. database contains, highlight its filename and press
  538. the <Tab> key.
  539.  
  540. Select the database that you want to delete and follow
  541. instructions.
  542.  
  543. D8b) Delete an annual weather file.
  544. -Ö 
  545. You are presented with a list of annual weather files
  546. for the current locality.  Select the file that you
  547. want to delete and follow instructions.
  548.  
  549. D9) Options.
  550. =â 
  551. Summons an OPTIONS menu (suprise!).  See Figure 2, above.
  552.  
  553. D9a) Graphic parameters.
  554. -Ä 
  555. This option displays a special user-preferences histograph.
  556. Use it to set the default parameters for new histographs.
  557. ~~~
  558. The following features can be hidden or made visible at the
  559. time that a new histograph is created:
  560. Key <B>: BASIS TABLE
  561. "  <T>: TITLE (THE CAPTION)
  562. "  <F>: FOOTNOTE (THE SOURCE/CREDITS LINE)
  563. "  <L>: 65-DEGREE LINE
  564. "  <D>: DEGREE-DAYS LINE
  565. "  <H>: HISTORICAL DEGREE-DAYS TEXT
  566.  
  567. Key <U> determines Y-axis UNITS: °F, °C or both at once.
  568. Key <C> opens a graphic COLORS menu.  See Section E, below.
  569.  
  570. The initial setting of the above features does not prevent
  571. them from being changed later on.
  572.  
  573. Editing key <E> is disabled.  Each new graph carries its
  574. own title and credits line whether visible, or not.
  575.  
  576. That is the extent of the user preferences.
  577.  
  578. D9b) Compose a caption.
  579. -ì 
  580. You can incorporate a title on new weather histographs, or
  581. you can leave it off.  It can be up to 45 characters long.
  582. This title is kept in initilization file WHIST2D.INI.  It
  583. used only if there is no title in the special USERPREF.WHS
  584. database file.
  585.  
  586. Instructions for composing/editing the title appear on
  587. the screen (a bit of overkill here -- I wrote the text
  588. editor for another program and snuck it into this one).
  589.  
  590. D9c) Compose a credits line.
  591. -Æ 
  592. You can incorporate a credits line as a footnote on your
  593. new weather histograms, or you can leave it off. It can be
  594. up to 57 characters long.  Like the title described above,
  595. the credits line is kept in WHIST2D.INI.  Same comments
  596. apply.
  597.  
  598. D9d) Printer parameters.
  599. -Ä 
  600. This option facilitates setting three printing parameters:
  601. D9d1) Dot-matrix printer emulation expected; IBM,
  602. Epson or Other. 'Other' means generic. The
  603. default is IBM.  ~É 
  604.  
  605. If in doubt, select Epson.  If that doesn't
  606. work, select Other.
  607.  
  608. An IBM printer (IBM Proprinter, for example)
  609. understands extended ASCII characters. Epson
  610. printers do not (An Epson printer cannot print
  611. the degrees symbol because it is an extended
  612. ASCII character).
  613.  
  614. This program filters extended ASCII characters
  615. when sending to an Epson or generic printer,
  616. changing them to spaces or standard printable
  617. ASCII characters.
  618.  
  619. D9d2) Send output to printer port LPT1, LPT2 or PRN.
  620. The default is LPT1. In this application, PRN
  621. and LPT1 have identical meanings.
  622.  
  623. D9d3) Print quality; Best or Draft. This applies to
  624. IBM and Epson printers only.  This parameter
  625. is ignored when you specify a generic printer.
  626. The default is best quality. 
  627.  
  628. This program resets your printer before and after
  629. printing.  Exception:- No attempt is made to reset
  630. a generic printer.
  631. ü 
  632. D9e) Default temperature units.
  633. -ò 
  634. This option facilitates setting two program parameters:
  635. D9e1) You can select the units used to input, view,
  636. print and file data to either degrees Fahrenheit
  637. or degrees Celsius.  The default is Fahrenheit.
  638.  
  639. D9e2) You can select the units for scales appearing on
  640. weather histographs to degrees Fahrenheit, degrees
  641. Celsius or both at once.  The scales can be changed
  642. while viewing a weather histograph.  Such a change
  643. will become this program's new default parameter
  644. if file USERPREF.WHS cannot be found.
  645.  
  646. D9f) Range alert setting (a data-entry trap).
  647. -Å 
  648. The spread between the high and low temperatures on any
  649. given day usually falls within some expected range.
  650.  
  651. The range alert warns you when you enter a pair of temper-
  652. atures that exceed its setting.  The default setting is 35
  653. degrees Fahrenheit. Limitations and additional instructions
  654. can be seen on the display.
  655.  
  656. D9g) Toggle opening logo.
  657. -Å 
  658. Turn the opening B-D-L logo off or on.  If turned off, a
  659. copyright notice will be shown after you exit WHIST.
  660.  
  661. D9h) Toggle closing 3-D demo.
  662. -ô 
  663. A sample planer 3-D histograph is displayed as you exit
  664. WHIST.  It heralds program WHIST3D.  You can turn it off
  665. or on.
  666.  
  667. There will be no such demonstration if WHIST is set up
  668. to operate on drive A only.  Its file, PLANER3D.EXE,
  669. will have erased to make room for more data files.
  670.  
  671. D10) DOS shell.
  672. =à 
  673. Shell-out to DOS in order to invoke DOS commands or run another
  674. application.  BE CERTAIN TO KEY-IN "EXIT" when you are through
  675. messing around out there in the shell!
  676.  
  677. D11) Quit.
  678. =Ç 
  679. Certain variables are saved to initialization file WHIST2D.INI
  680. when you quit this program.  They determine printer parameters,
  681. an unlikely-input alert value, the current locality and a number
  682. of other things the next time you start this program.
  683.  
  684. Also, program WHIST3D looks to WHIST2D.INI for the path to WHIST
  685. data files (See Section J for more about WHIST3D).
  686. Æ 
  687. -- more --
  688.  
  689. E) COLORS MENU: ç ┌─£ ┐ Ç Figure 3
  690. ~ç  ê │ Background. É │ Ç ~ä 
  691. Applicable to graphic  │ Grid lines. É │
  692. presentations only. Ç ├─£ ┤
  693. -æ   │ Menu items, basis and labels.  │
  694. │ Highlighted menu items. ä │
  695. │ Disabled menu items. ç │
  696. ├─£ ┤
  697. │ Degree-days line and label. Ç │
  698. │ Freezing line and label. â │
  699. ├─£ ┤
  700. │ Historical temperature plots.  │
  701. │ Current year overlay and label.│
  702. ├─£ ┤
  703. │ Caption (title/header). ä │
  704. │ Footnote (source/credits line).│
  705. ├─£ ┤
  706. │ < > <PgDn PgUp> <Tab>, etc.  │
  707. │ <Enter> Select. î │
  708. │ <Del> Restore default colors.  │
  709. | ô │ <Ins> Done. É │ ê |
  710. |~ô └─£ ┘~ê |
  711. │ <W>hite-on-black â <B>lack/white-on-white â <Esc>:Withdraw  │
  712. └─┴ ┘
  713.  
  714. When the colors menu is on screen, another menu appears across the
  715. bottom of the screen.  It applies to monochrome modes of display
  716. (See Section G, below).
  717.  
  718. If a graph is in a monochrome mode when the colors menu is invoked,
  719. the graph changes to color so that various colors can be selected.
  720. The graph reverts to monochrome after the selections are completed.
  721.  
  722. Eleven elements of a histograph can be painted any one of sixty-four
  723. colors (including black).
  724.  
  725. There are four levels each of red, green and blue which, when mixed,
  726. can produce any one of the different colors:  4 x 4 x 4 = 64.
  727.  
  728. One of the four levels is no color, so one of the 64 colors is black.
  729. ~ä 
  730. Use the down & up arrows, <PgDn>, <PgUp>, <Tab>, <End> and <Home>
  731. keys to browse the menu.
  732.  
  733. Press <Enter> to select an item. See Figure 4 - PALETTE, below.
  734.  
  735. Press <Ins> to accept all changes.
  736.  
  737. Or press <Del> to restore the original colors.
  738. ü 
  739. F) PALETTE - graphic color control Ü Figure 4
  740. ~â  ▓ ~ä 
  741. Selecting an item to be colored opens a window similar to this:
  742. ╒═─ ╕
  743. │  Use keys <r/R>, <g/G> and <b/B> --OR-- enter a color number directly. │
  744. ├── ┤
  745. │ <r/R> RED  : 3 (0-3) é Old GRID LINES color: 39 ü <Enter> Done.   │
  746. │ <g/G> GREEN: 2 (0-3) é New GRID LINES color: 39 ü <Del> Undo. ü │
  747. │ <b/B> BLUE : 2 (0-3)   SAMPLE ▓å  Range (0-63)  <Esc> Withdraw. │
  748. └── ┘
  749. In it you will find the name of the item, its current EGA color number,
  750. the current saturation level (0-3) of each of its three primary colors,
  751. a sample color patch and some instructions.
  752.  
  753. Uppper case <R>, <G> and <B> step the primary colors upward through
  754. their four levels of saturation.  Lower case <r>, <g> and <b> step
  755. them downward.  The resultant 'New' color number is displayed and
  756. all instances of the selected item change color on-screen.
  757.  
  758. Optionally, you can obtain the same result by keying in any valid
  759. color number (0 to 63) directly.  The saturation level of each
  760. primary color is changed to agree with the new color number (You
  761. will find that EGA color numbers are tricky).
  762.  
  763. Press <Enter> to accept changes and return to the colors menu.
  764.  
  765. Or press <Esc> to discard changes and return to the colors menu.
  766.  
  767. Or press <Del> to undo changes but not withdraw.
  768. ü 
  769. G) MONOCHROME:
  770. ~å 
  771. To satisfy certain desktop publishing and printer requirements, a
  772. histograph can be displayed in either of two monochrome modes. They
  773. are white-on-black and black-and-bright-white-on-white.  A menu at
  774. the bottom of the screen facilitates the two modes (See Figure 3,
  775. above).  The assignment of black, white and bright-white to various
  776. graphic elements is pre-determined.
  777. ü 
  778. H) LEAP YEAR DAY
  779. ~ë 
  780. Just in case you wondered about leap year, so did I.
  781.  
  782. When the "current year" is a leap year, the historical data for day
  783. sixty (Feb 29th) is fudged. The "current year" is displayed accurately.
  784.  
  785. The historical data for days 60 through 365 are shoved upward one day
  786. and the historical values for leap year day is forced to fall midway
  787. between the values for days 59 and 61.  No curve-matching formula
  788. is applied.  Mid-way should be close enough.
  789.  
  790. Values representing leap year day are saved as day 366 in a built-up
  791. database.  A note to that effect is included with the database when
  792. it is presented in text format.
  793. à 
  794. -- more --
  795.  
  796. I) CONVERTING TEMPERATURES - A BETTER WAY TO DO IT:
  797. =ô 
  798. Here is a procedure that eliminates the business of having to add
  799. OR subtract 32 when converting between Celsius and Fahrenheit.
  800.  
  801. In the following procedure, you ALWAYS ADD 40, convert and then
  802. ALWAYS SUBTRACT 40. ë ~ë   ~â 
  803. ~Ä 
  804. To convert, you either multiply or divide by 1.8. You will
  805. recognize 1.8 as being equivalent to the 9/5ths ratio that
  806. is specified in similar discussions.
  807. So, by the numbers:-
  808. FAHRENHEIT to CELSIUS é CELSIUS to FAHRENHEIT
  809. -æ  é -æ 
  810. 1) Ç add à 40 ê add ç 40
  811. 2) Ç divide by Ç 1.8 å multiply by Ç 1.8
  812. 3) Ç subtract Ç 40 ê subtract é 40
  813.  
  814. Now, isn't that slick?  This procedure effectively re-aligns the
  815. scales (-40 Fahrenheit equals -40 Celsius), makes the conversion
  816. and then slides the scales back to where they belong.  There are
  817. 180 F degrees and 100 C degrees from freezing to boiling, thus
  818. the ratio of 1.8 to 1. ü (Thank you, Kenneth L. Brooks.  csg)
  819. ü 
  820. J) WHAT'S NEXT - PLANER 3-D HISTOGHAPHS
  821. ~á 
  822. Another program, WHIST3D, augments this program.  It uses data that
  823. was generated by this program to display planer 3-D histographs.  A
  824. planer 3-D histograph depicts high and low temperature variations
  825. over a period of years.
  826.  
  827. A sample 3-D histograph may display itself when you exit this program.
  828. For more, see "Toggle closing 3-D demo." in Section D, above.
  829. é 
  830. K) AUTHOR!, AUTHOR!
  831. ~î 
  832. Charles S. Gaylord ô WHIST is Copyright(C) 1990-1993
  833. 8661 Bakely Circle ô Charles S. Gaylord - All rights
  834. Minocqua, WI 54548  U.S.A î reserved.
  835.  
  836. =₧  END =á 
  837. source MM2DTUT.BAS
  838. 2SO046668Ç 6ä 01013Æ 03330333033003ä 001583Ä 9014440488:Ç 048:Ç ==08Ç 08880778>8ì 08D888>07>>08=08>080888048Ç >>>08>>08808904880888088]888P880888P88808é 08Ç 0808Ç 0488>I8018808801808880144880:??0:?1b48Ç :?ü 0:?1?ü 0?é 0???0??01??0??0??0?Ç 0?é 0??048Ç 0888088808ü 088048180880880880888_8Ç 018Ç 018018808880048880:?Ç 0?Ç 0???0??0:???01?Ç 0???0?Ç 0?Ç 0???0???0?é 0???0?048ü 0188018880:?é 0:?ü 0:?ü 0???000Q0488808808880888088000Q048880:?Ç 0?Ç 0??0:?Ç 04880:???h??BCü 0??0??0??0?0:?é 0???0:?é 0:??BHH0HH0Hü 0HÇ 0BHH0BHHH0BBB00:??BHH0BHü 0:???0?Ç 0:???0:?Ç 0???038Ç 038ü 0880Å Q025Ç Lï 4Ç 0555055505505505O55050505002552â 55505Ç 05Ç 0505050025â 0014303303Ç 03330é Q0146606â @@===06ü 0014ü 04400014Ç 02j}üéÇüï éÇéÇüÆ éÇüüéÇüüéÇüπÇÇ{üé âÇÇüæ âÇüüüéÇüé éÇüâ πÇ{üüéÇüüéÇüæ ÇüéüüüéÇüüéÇüéÇüéÇéÇüüπÇ{üé éÇüüéÇüéÇüéÇüüéÇüüéÇüä éÇüé éÇüü πÇ{üüéÇéÇüüüéÇüü éÇüüéÇüéÇüéÇüüπÇ{üüüéÇüüéÇüè éÇüâ éÇüü éÇüüéÇüéÇüüéÇüπÇ{éÇüüüéÇüü éÇüéÇüÇ éÇüüéÇüüéÇüÇ éÇüéÇüüüéÇüéÇüéÇüπÇ{üé éÇüÇ éÇüéÇüüéÇüüéÇÇüüüéÇüÇ éÇüüüéÇüüéÇüπÇ{üüéÇüÇ éÇüüéÇüüüéÇüüüéÇüüéÇüüéÇüü éÇüüéÇéÇüü πÇ{üéÇüüüéÇüé éÇüü éÇüü éÇüüéÇü üüüéÇüéÇüüéÇüüéÇüπÇü {üüéÇüÇ éÇüüüéÇüéÇüÇ éÇüüéÇüê éÇüéÇüéÇüéÇπÇ{üü éÇüüéÇüé éÇüü éÇüéÇüÇ éÇüüüéÇüüéÇüüüéÇüüπÇÇ{üÇ éÇüü éÇüüüéÇüüüéÇüüüéÇüÇ éÇüüéÇüÇ éÇüü éÇüπÇæ {üÆ éÇüüéÇüüéÇüéÇüéÇüüüéÇéÇéÇπÇÇ{üç éÇüüüéÇüüüéÇéÇéÇâÇÇüâ πÇÇ{üéÇüéÇüüüéÇüüâÇä üüüéÇüü éüü éÇüÇ πÇÇ{üÇ éÇüâÇÇÇüÇ éÇπÇ245589;<PRSTUVVå 12224456>??@@AAå Ai