If you enter a number for a drive you don't have, Grapher displays an error message and returns you to the menu. You can modify lines 4710, 4750, 4980, and 5020 to reflect the maximum number of drives in your system.
Under the Load option, you can type in a question mark at the file name prompt to display the disk directory. The Save option defaults to the last name you used to load data if you don't enter a file name.
Option 3 displays your first five years' worth of data per screen (see Fig. 3). Press any key to display the next five years' worth, then press any key to return to the menu. Option 7 prints out the data (see Fig.
4). The program asks you if you want to print in 12 characters-per-inch (cpi) mode or 16.7 cpi mode.
For this routine to work you might need to change the control codes in lines 2190 and 2200. The variable TS sets your printer's type style. I have it set for the Radio Shack DMP-2100. If necessary, change them to match your printer's codes (consult your printer manual for more details).
Options 8-11 plot the four different graphs. When you select any of these options, the program prompts you to decide if you want grid lines displayed on the graph. You can choose horizontal or vertical lines, both on the summary line graph (option 9). If you select option 8, 10, or 11, you automatically get horizontal grid lines.
After you select grid lines, the program displays the message "Calculating highest and lowest values" as it figures the highest and lowest numbers in the data. If the highest data item is less than or equal to 500, Grapher asks if you want to manually determine scale values, or if you want Grapher to use the Graph-Calc routine to determine them (the scale is the incremental numbers up the left side of the graph). If your highest value is greater than 500, you must use manual scaling.
If you select manual scaling, the program prompts you for the top and bottom scale values. Make sure the bottom value you enter is lower than the lowest data value and that the top value is higher than the highest data value.
The program then plots the type of graph you specified. Grapher pauses after drawing each line. Press the M key to return to the menu, the E key to erase the previous line and plot the next one, or any other key to plot the next year's data with the previous line(s) on the screen.
Option 8 displays an annual line graph (see Photos 1 and 2) with separate lines for each year. Option 9 displays a summary line graph (see Photo 3). This routine plots all ten years' worth of data on one line.
Option 10 plots a 12-month bar graph for any year (see Photo 4). After you set up scaling, this routine asks you for the year you want to plot. Grapher draws one bar for each month. After the program finishes plotting, you can press any key to return to the menu.
Option 11 plots a bar graph of the yearly averages for 10 years (see Photo
Lin« Number Function
Was this article helpful?