home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 296.lha / WeatherGraph.doc < prev    next >
Encoding:
Text File  |  1992-09-01  |  5.6 KB  |  112 lines

  1.                          WeatherGraph - Documentation
  2.  
  3.                                Legal Garbage
  4.  
  5.      WeatherGraph (c) 1988 by Michael Cox, All Rights Reserved. This
  6.      archive may be distributed and used in any way desired and may be
  7.      uploaded to any telecommunications service in the known universe
  8.      except Compuserve.
  9.  
  10.      This program is hereby placed in the public domain by its author.
  11.      However, if you like it or get some use from it, please send $5 to
  12.      either the American Civil Liberties Union or to your local Humane
  13.      Society.
  14.  
  15.                              About the Software
  16.  
  17.      WeatherGraph is a very simple little hack that I threw together over a
  18.      long weekend, ostensibly as a favor to my father-in-law, but actually
  19.      in order to escape from what I SHOULD have been working on. It is
  20.      simply a database for storing up to ten years of weather data and
  21.      displaying the results graphically. Graphs can be overlaid and printed
  22.      out if desired.
  23.  
  24.      Put Weathergraph in a directory of its own and CD there. Start the
  25.      program by typing RUN WEATHERGRAPH at the CLI. No icon is provided. If
  26.      you want to design your own, knock yourself out.
  27.  
  28.      When you power up for the first time, you will get a requester asking
  29.      for a starting date. Enter 01-01-XX where XX is the year you want to
  30.      start your data. The disk will be busy about 2 minutes creating the
  31.      ten-year-long data file, stored in the same directory, called
  32.      WeatherData.
  33.  
  34.      The program is very easy to use. The three colored gadgets labeled
  35.      TEMP, HUMD and PRCP control whether those readings will be shown on
  36.      the next graph to be drawn. Click them and notice that their scales
  37.      appear or disappear to reflect their selection state. Below these are
  38.      two gadgets labeled MORN and EVE. There is a space for morning and
  39.      evening readings in each of the three categories. Note that at least
  40.      one of the three scales, and at least one of the two time-of-day
  41.      gadgets, MUST be selected or your graph will be pretty uninteresting.
  42.      The colors of the gadgets indicate the colors of the data plots.
  43.      Evening readings appear slightly darker than morning. (Also, if your
  44.      timespan covers more than one year, the next year's data changes color
  45.      for clarity.)
  46.  
  47.      At the very bottom right is a gadget marked SCAL. This chooses between
  48.      the two types of output, a year-long scattergram or a month-long line
  49.      graph.
  50.  
  51.      Moving back up the screen a little, DRAW is the main graphing command.
  52.      It will ask for a starting date and ending date (in the form MM-DD-YY)
  53.      and draw the graph you've selected. NOTE that it does NOT erase any
  54.      previous graphs that might have been there. This feature allows you to
  55.      overlay graphs of different time periods and see them on the same
  56.      display for comparison.
  57.  
  58.      REDRAW does exactly the same thing as DRAW but simply uses the last
  59.      dates entered. Thus you could for example call up the morning
  60.      temperatures, look at them, select EVE and REDRAW and see the evening
  61.      temperatures drawn separately.
  62.  
  63.      CLS clears the display. Note that changing the SCALE also clears the
  64.      display, since it renders any existing displays meaningless.
  65.  
  66.      PRNT, of course, prints the screen. I suggest having your preferences
  67.      set to reverse printing, smoothing on, integer scaling, with the
  68.      threshhold almost all the way up. This produces really excellent
  69.      results. (Bravo, 1.3 writers!)
  70.  
  71.      (IMPORTANT: PRNT expects to find GraphicDump in your SYS:System
  72.      directory. I did this for two reasons: one, I wanted this program to
  73.      work under 1.3 and don't have a clue yet about how the new drivers
  74.      work, and two, this was intended to be a quick hack and I was lazy. No
  75.      apologies...)
  76.  
  77.      The remaining gadget, you will be pleased to learn, allows you to
  78.      enter data so that it can be stored and graphed. EDIT asks for a date
  79.      and opens a window for your data. The meanings of the gadgets in this
  80.      window should be fairly apparent. Temperature and humidity are entered
  81.      as whole numbers, and precipitation can be entered decimally in
  82.      graduations down to a hundredth of an inch. SAVE saves that day's data
  83.      and automatically advances to the next day; use QUIT to get out of
  84.      this window. The left and right arrows simply move you through
  85.      time without saving any changes.
  86.  
  87.      The last gadget in this window is labeled FAST. This one is for rapid
  88.      entry of large amounts of data. When selected, it selects the data
  89.      entry gadgets in order for you, and automatically saves and advances
  90.      the date after the bottom entry, allowing you to enter a large amount
  91.      of data quickly without using the rodent at all.
  92.  
  93.      My only suggestion for use is to enter one entire month of data, maybe
  94.      from an almanac or something, and experiment. The first time you
  95.      run this program all your graphs are of course going to be straight
  96.      lines at zero. Including a sample data file would have made this
  97.      archive prohibitively large.
  98.  
  99.      That's about it. I realize that this isn't the most mind-bogglingly
  100.      useful utility since Lotus, or even Microhost, but it does what it
  101.      does very well, and might be exactly what someone out there is looking
  102.      for. Besides, it was a great way to kill a weekend.
  103.  
  104.                                    Share and Enjoy.
  105.  
  106.                                    Michael Cox
  107.                                    SYSOP - Iconoclast BBS (915) 833-3899
  108.                                    (Home of the Skyline BBS System)
  109.                                    GENIE - MCOX5
  110.  
  111.  
  112.