home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD2.bin
/
bbs
/
misc
/
cp-4.3.lha
/
cP
/
cP.doc
< prev
next >
Wrap
Text File
|
1994-08-03
|
12KB
|
330 lines
/*****************************************************************************/
/*****************************************************************************/
cP Ver 4.3 by Chris Conger
July 31, 1994
/*****************************************************************************/
/*****************************************************************************/
cP is a DATA PLOTTING PROGRAM capable of plotting TWO DIMENSIONAL DATA in both
LINEAR or LOG space. The program runs from the CLI or from Workbench and
REQUIRES KICKSTART 37 or higher to run. There is no limit to the number of
points that the program can load except the amount of ram on your system.
There is also no limit to the number of sets. cP creates a PUBLIC SCREEN,
so you can open other applications on its' screen. This version of cP sports
an AREXX interface for almost any function.
/*****************************************************************************/
What next?
This is the last release of cP. Any new release will be a total rewrite and
allow support for HDF/NetCDF type files. The name will change then also.
/*****************************************************************************/
Whats New?
4.3)
Now does delta measurement when mouse select button is pressed and dragged.
cP will now attempt to CLONE the DisplayID of WORKBENCH thus allowing cP
to work well with RTG type display boards. Added rexx commands TEXT and
VERTTEXT to allow user placed text on screen display. Mostly for printing.
Fixed bug in NOFN display which didn't center display when more than one
data set loaded. Fixed old bug in LogAxis that caused display to move out
one decade on redraw sometimes due to precision problem. Little of this and
that. Added UnZoom menu selection.
4.2)
cP now stores all its numbers as double precision
CrossHair feature for Identify Measurements
Identify/CrossHair option can have significant digits set by menu/CLI/ENV
Position Locking for CrossHair with spacebar
Single column data will load with x = line number.
Old draw break criterion changed to Realtime option (see below)
Distribution now includes 020/881 version again by request
Fixes bug where endless loop could occur when clicking grid if no sets were
ever loaded
4.1)
Fixes enforcer hits during Workbench launch (I don't do that very often)
4.0)
Arexx, Printing, Better redraw, and lots of other stuff
/*****************************************************************************/
EXAMPLE COMMAND:
> cP SAMPLE.#?
/*****************************************************************************/
cP reads an ENVIRONMENTAL VARIABLE at startup which can be used to change the
default values of the settings. The NAME of the var is CPCONFIG. Any options
given on the command line will override the environmental variable.
EX:
> setenv cpconfig "ID=32768 FONT helvetica SIZE 9 GRID SETDEF W=1000"
/*****************************************************************************/
/*****************************************************************************/
The template for BOTH command line and envvar is:
FILES=WILD/M,LX=LOGX/S,LY=LOGY/S,GRID/S,SYM/S,ID=DISPLAYID/N/K,FONT/K,FS=SIZE/N/K
LORES/S,HIRES/S,LACE/S,SETDEF/S,W=WIDTH/N/K,H=HEIGHT/N/K,P=POINTS/N/K,T=THIN/N/K
D=DEPTH/N/K,MONO/S,CPANEL/S,NOFN=NOFNBOXES/S,OB=OPENBEHIND/S,MYNAME/K
XLAB/K,YLAB/K,TITLE/K,REALTIME/S,SD=DIGITS/N/K
/*****************************************************************************/
FILES - This can be multiple args and includes WILDCARD patterns. The files
must be ASCII NUMBERS DELIMITED BY WHITESPACE OR COMMAS. cP will ignore
numbers after the first two colums. cP will also ignore text lines so
that you can place a header in the file. See file sample.asc to see the
format.
/*****************************************************************************/
LOGX - Switch to turn log XAxis on. If any values are less than or = to zero,
sets back to LINX. ( Can't do log negative ). X HOTKEY.
/*****************************************************************************/
LOGY - Switch to turn log YAxis on. If any values are less than or = to zero,
sets back to LINY. ( Can't do log negative ). Y HOTKEY.
/*****************************************************************************/
GRID - Switch to turn on the grid. G HOTKEY
/*****************************************************************************/
SYM - Draw x SYMBOL AT EACH POINT. Amiga S hotkey.
/*****************************************************************************/
ID=DISPLAYID - ID number of the TYPE DISPLAY you wish to create.
Default is HIRES LACE.
EXAMPLES:
ID=4 -> LORES LACE 320*400
ID=32768 -> HIRES 640*200
ID=0 -> LORES 320*200
ID=32804 -> SUPERHIRES LACE 1280*400
/*****************************************************************************/
FONT - Name of the font to use for the display. The default is topaz.
cP adds '.font' to the string.
EX: FONT helvetica SIZE 12
/*****************************************************************************/
SIZE - Size of the font. Default 8. No more Max size
/*****************************************************************************/
LORES - Lores screen
HIRES - Hires screen
LACE - combine with either LORES or HIRES this function OR's
the LACE key over DISPLAYID and LORES/HIRES.
/*****************************************************************************/
SETDEF - Makes the new cP screen the DEFAULT PUBLIC SCREEN.
/*****************************************************************************/
W=WIDTH - Set screen width in pixels. cP will open a VIRTUAL autoscroll screen
if WIDTH is wider than display.
EX. W=1800
H=HEIGHT - Set screen height in pixels. cP will open a VIRTUAL autoscroll
screen if HEIGHT is taller than display.
EX. H=800
/*****************************************************************************/
P=POINTS - Max Points to load in each set
/*****************************************************************************/
T=THIN - depopulate set by number
EX. THIN=3 loads every third point
/*****************************************************************************/
D=DEPTH - Screen depth in bitplanes.
DEPTH=1 mono, DEPTH=2 four colors, DEPTH=3 eight colors,
DEPTH=4 16 colors. If you have two sets use DEPTH=3 more
than two use DEPTH=4. One data set looks good either D=1 or D=2
MONO - black and white display. GREAT FOR BIG VIRTUAL SCREENS. Same as D=1.
/*****************************************************************************/
CPANEL - toggles CONTROL PANEL on or off. default on. Amiga-C hotkey
/*****************************************************************************/
NOFN=NOFNBOXES - dont place file name boxes on side of screen
/*****************************************************************************/
OB=OPENBEHIND - Opens Screen BEHIND ALL OTHER SCREENS
/*****************************************************************************/
MYNAME - SETS WINDOW, PUBLIC SCREEN and REXX PORT NAMES to this. OpenScreen
will fail if name already exists.
EX: MYNAME JoMama
/*****************************************************************************/
XLAB - Label for xaxis
YLAB - Label for yaxis
TITLE - Label at top
EX: XLAB "Pullin NoseHairs"
/*****************************************************************************/
REALTIME - This switch tells cP that data is increasing. With large data sets,
the redraw time after a zoom can be improved with this option. cP
will break from the draw loop for each set if it believes the data
is offscreen. If x values are declining at any point in the data
don't set this option.
/*****************************************************************************/
SD=DIGITS Number of significant digits for CrossHair Measurements
/*************************************