home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
apps
/
math
/
zplotter
/
zplotter.doc
< prev
next >
Wrap
Text File
|
1985-11-17
|
6KB
|
125 lines
Version 2.0 April 1987
Z-Plotter Documents
-------------------
Zplotter is a three-dimensional plotting program that
allows you to choose an equation and plug in various ranges for
the X, Y, and Z axis. The maximum and minimum ranges for the X,
Y, and Z axis are used as a virtual "telescope", allowing for a
local sighting or a worldly view of a specified graph. A graph
can be plotted in various resolutions by changing its resolution
factor. This is not the same as the Atari ST's Low, Medium, and
High resolutions! The resolution factor changes the graph's
roughness, giving it a less detailed graph in a less amount of
time, and it's smoothness, giving it a more detailed and more
realistic graph, but in a much longer time period.
To run Zplotter, load ZPLOTTER.PRG using the GEM
Desktop or a Command Line Interpretor. Once booted, Zplotter
will acknowledge itself by bringing up a dialog box giving it's
name and other various information. From here, click on the
'Zplotter' box using the mouse, or just hit the RETURN key.
Once the 'Zplotter' dialog box has banished from sight, move
the mouse up to the 'Parameters' title on the menu bar. From
here, select the 'Formula' index. A 'Formula' dialog box should
appear. Choose a formula by typing its corisponding number at
the prompt then hit the RETURN key or select the 'OK' button.
Next, select 'Parameters' under the 'Parameters' menu bar and
type in the ranges that the dialog box asks for. Hit RETURN or
click the 'OK' button when finished. If you have selected a
formula and filled in all the ranges then go to the 'Graph'
title on the menu bar. Select 'Plot'. The screen should clear
and the graph you selected should start plotting. When the graph
is completely finished plotting you can re-enter another graph
by depressing the left mouse button. Depressing the right
mouse button while the graph is still on the screen will cause
a box to be drawn around the graph. This will help bring out the
three-dimensional effect. If you wish to view the title screen
again, just go to the 'Desk' and select 'Z-Plotter'. If you so
happen to ( Heaven Forbid! ) get tired of Zplotter and wish to
quit, just select 'I Wanna Quit!' under the 'Tired?' menu.
COLD EQUATIONS
--------------
In converting this program from BASIC to Pascal,
various problems had arisen. The major problem is the limitation
of the amount of formulas to chose from. In the BASIC version,
the user would only have to type in the formula at the given
prompt. The formula would be forced into the actual program
for later references for the plotting routines to use.
Unfortunately, accomplishing this feet isn't that simple in Pascal.
Using a VAL function, such as that used in Turbo Pascal, might
work, but the current Personal Pascal language I'm using does
not have that function. If anyone knows an easy way of converting
a formula stored into a STRING into a REAL number please leave
me a message on Al's Used BBS [513-433-6815], Late Night BBS
[513-293-5448], or CompuServe [76316,154].
LITTLE BOOGERS
--------------
Here are a few of the known bugs in the 2.0 version of
Zplotter.
Number One: Try to avoid placing zeros in the maximum and
minimum ranges at the same time. This may cause the program to
divide by zero, resulting in a program shutdown.
Number Two: The toggling between the create/uncreate box
feature happens so quickly that it will toggle through several
times before you let off the right mouse button once! Try to
bear with it for now, please.
Number Three: Try to avoid using Application files with
Zplotter. Zplotter does not know when an application has been
activated, therefore, not knowing when to activate its redraw
events.
These bugs will soon be destroyed and new features will
be added to the existing version of Z-PLOTTER - along with some
more of those little boogers.
TRY THESE PARAMETERS FOR SIZE
-----------------------------
Formula Z(low) Z(upp) x/y(low) x/y(upp)
------- ------ ------ -------- --------
Z=sin(x)*cos(y) -1 1 0 6
Z=(y-1)*(x+2)*x*x -4 4 -3 3
Z=ln(abs(x))+ln(abs(y)) -6 1 -2 2
Z=abs(x)-abs(y) -3 3 -3 3
Z=abs(cos(x)+cos(y)) 0 2 -8 8
Z=1+x*x-y*y 0 6 -3 3
NOT TO BE SOLD
--------------
Z-PLOTTER is Public Domain - Not to be sold!
Portions of this product are Copyright (c) 1986, OSS and CCD.
Used by permission of OSS.
CREDIT - WHERE CREDIT IS SURELY DUE
-----------------------------------
This pascal version of Zplotter could not have been
programed without the help of the BASIC version of Zplotter
created by David Bader ( This version appeared in the May 1985
issue of A.N.A.L.O.G Computing Magazine. ), and Peter Lee
Poon-Hang's "Three-Dimensional Plotting" which appeared in the
April 1982 issue of Creative Computing. I suggest getting these
two magazines ( somehow ) if you are interested in more information
on three-diminsional graphing.
- Sean Barnes -