home *** CD-ROM | disk | FTP | other *** search
- C======================================================================C
- C C
- C PlotData2D - two-dimensional data plotting package C
- C C
- C======================================================================C
- C C
- C Author: Robert C. Singleterry Jr. C
- C Home Address: School Address: C
- C 365 Carol Ave. 1526 N. Santa Rita C
- C Idaho Falls, ID 83401 Tucson, AZ 85719 C
- C C
- C Origin Date: 11/01/89 C
- C Lastest Update: 11/01/89 C
- C Current Revision: 1.0 C
- C Language: AC/FORTRAN V2.3 C
- C (need this compiler to recompile the program) C
- C C
- C======================================================================C
- C C
- C Purpose: C
- C C
- C This program plots data onto a custom user defined screen and C
- C window using standard Amiga functions from AC/FORTRAN V2.3. C
- C The plot and screen/window definitions along with the (X,Y) C
- C data pairs are read in from a disk file. In this revision, C
- C the disk file name is input through the command line C
- C interface. The package supports linear, log-log, and C
- C semi-log axis plots. The data can be plotted with lines, C
- C symbols, or lines and symbols. As of now, all plots on one C
- C screen must be the same. See the examples on the C
- C distribution disk on exactly how to set up your data file. C
- C Preambles are included for the three axis types; however, C
- C the other options are what I use most often, which maybe C
- C the exact opposite of what you need. C
- C C
- C Many "extras" have been included: C
- C C
- C * Automatic axis size determination with some extra room C
- C * Border between the data and the axis C
- C * Ability to access the screen depth gadget C
- C * User defined Screen and Window dimensions C
- C * Automatic value labeling on both axis C
- C * User defined axis labels and plot title C
- C * All border values are user defined C
- C * Draws the coordinate axis on the graph C
- C C
- C Many "extras" will be include soon (see wish list). Hopefully C
- C another revision will be out before Jan. 1 1990!! (I also C
- C have to get my Master's thesis approved by then, so...). C
- C C
- C This release is the basis to work from. It is not intended C
- C to be a final release. Please, if you have any comments, C
- C complaints, bugs, code, etc..., write me!! Thanks. C
- C C
- C Also, I am not too sure about what must be done to release C
- C this program to the general public? AC/FORTRAN runtime C
- C library package problems. However, I do know for a fact that C
- C using any or all of this program in a for-profit package will C
- C get you a visit from me and my BIG brother. If you would like C
- C to use any or all of this package in a public domain type C
- C program, remember to place somewhere in your program who C
- C actually sweated out the code!!! Thanks C
- C C
- C======================================================================C
- C C
- C Usage: C
- C C
- C 1> alias pd execute <volume:directory>plotdata2d.com C
- C 1> pd <filename> C
- C 1> pd h (to get help) C
- C C
- C Note - DO NOT press <ctrl-C>. To exit the program, activate C
- C the CLOSEWINDOW gadget. Also do not execute the C
- C program directly. Your individual stack size may not C
- C be large enough and a visit from the GURU may be next C
- C on the your hit parade. C
- C C
- C======================================================================C
- C C
- C Data Input: C
- C C
- C Command line: Data file name C
- C C
- C Data file name: The data layout is as follows: C
- C C
- C 1 - Screen height C
- C 2 - Screen width C
- C 3 - Window height C
- C 4 - Window width C
- C 5 - Window title (80 characters) C
- C 6 - X axis label (60 characters) C
- C 7 - Y axis label (60 characters) C
- C 8 - Left, Right, Top, Bottom axis offset from edge of window C
- C 9 - Left, Right, Top, Bottom plot offset from item 8 C
- C 10 - User maximum refinement value C
- C 11 - User minimum refinement value C
- C 12 - Grid flag -> 0: No grid lines, 1: Grid lines C
- C 13 - Plot type -> 0: Linear, 1: Log, 2: Semilog C
- C 14 - Symbol flag -> 0: No symbols, 1: Symbols C
- C 15 - Line flag -> 0: No lines, 1: Draw lines C
- C 16 - Data Seperator -> The number that is used to C
- C seperate the lines from one another C
- C 17 - Plot data in X Y pairs with the plot lines C
- C seperated by data item 16 C
- C C
- C======================================================================C
-