PCC GRAF GRAPHICS INTERFACE AND OUTPUT FROM PCC SPREADSHEET GLENN EVERHART, 23-JAN-83 Getting Started: Run AnalytiCalc (PCC) and create your spread sheet to your liking. When it is set, use the following commands: L A1 go to cell A1 (top left of sheet PPN Put out physical sheet numerically. When AnalytiCalc asks for a filename, give one which describes your file well (with a file type) followed by return. Example: Myfile.num When PCC asks you for maximum displacements, enter 0 in both cases (equivalent to telling it to save everything). When done, you may use the X command to exit PCC (AnalytiCalc). Now run PCG (on the 11/70 just type PCG). When PCG runs, it will ask for a command line. A typical command to give a scaled plot of column H from row 1 to row 30 would be Enter plot command>NN myfile.num H1:H30 [S] Note that the rows and columns are referred to exactly as on the sheet itself. The initial NN could be LL or LN or other letters, but L in column 1 takes the logarithm of the numbers in the first (in the example the only) range of numbers selected, and L in column 2 takes the log of the numbers in the second range. Should the range to be plotted include only POSITIVE numbers, make the first 2 letters P's. This will ensure the scale starts at 0 rather than at the minimum positive value selected. The command line would then look like: Enter plot command>PP myfile.num H1:H30 [S] Scatter plots plot entries in the first range against corresponding entries in the second range selected. One dimensional plots are always 100 bins wide and scatter plots are always 50 bins by 50 bins. Height of histograms is scaled to fit a page if the [S] form is used and will vary to whatever is needed if the [V] character is used. Where fewer bins are used than 100, plots are scaled so that only the number of bibns is the number used. SYNTAX AND USAGE: This program is designed to allow an interactive user to enter a single command line to the program which it will parse (using the special version of VARSCN in GVARSCN) and allow graphic output from AnalytiCalc saved spread sheets. The assumption made is that the sheet has been saved with the PPN or PDN command. The filename must appear in the command line and variables in the file (named as though the cursor had been in cell A1 when the PPN / PDN was done) may be histogrammed or scatterplotted against each other. The GHASP routine (a FORTRAN plot package for ordinary printers) will be used for this version. Input syntax: PP or NN or LL filename.ext V1:V2 [c] V3:V4 +switches where an L in columns 1 or 2 takes log of 1st or 2nd range numbers (base 10), filename appears at the start of the command line after a space and with a space following it and is a valid RSX or VMS file spec. V1:V2 and V3:V4 are ranges. V3:V4 is optional and its presence implies a scatter plot. These ranges must be either a row or a column or part of them. If only range V1:V2 is present, a histogram will be done using the Scale option of GHASP to fit the plot onto a page. The plot will be set up for 100 bins horizontal, 50 vertical. If the V3:V4 range exists, the character Q in the [c] position (the [] are required) will result in a "density" plot in which the program will attempt to print darker in filled bins. This is crude and the default is to use a 2 digit number. Again, plot size will be scaled to 50 by 50 bins. NOTE: (V1B): No switches are currently implemented.