home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
education
/
a
/
3dplot
/
!3D-Plot
/
!Help
< prev
next >
Wrap
Text File
|
1994-06-26
|
5KB
|
138 lines
3D-Plot
-------
3D-Plot is a general three-dimensional graph plotter. It has three
plotting modes - Cartesian (usual X,Y,Z), Cylindrical and Spherical.
Getting started
---------------
To run the programme just double-click on the !3D-Plot icon.
You will be presented with the Plotting Modes screen.
Choose one of the plot modes, by clicking the mouse over one of
the options A),B) or C). Clicking on the 'Help' box will display a
screen summarizing the various facilities that are available.
( Pressing the key <H> has the same effect.)
After choosing a Plot-mode the Display-options screen will appear.
The green boxes display the default choices. Clicking on the 'PLOT'
box will plot a default function - it will in fact be the first
function F1 from one of the three sets of functions held in the Data
file `3D_Lib',within !3D-Plot.
Try pressing various function keys F1,...,F12.
Different example functions will be displayed.
To try a different Plotting Mode just press <Tab>. This will take
you back to the initial Plotting Mode screen. Choose a different
option <A>,<B> or <C>.
Press the function keys F1,...,F12 again to display more examples.
For a brief summary of the facilities provided just press <H> at any
time - a Help screen will appear.
Display-Options Screen: current choice = green boxes.
----------------------
The following facilities are available (by clicking with the Mouse):-
1) Graph Type - choose either Wire-frame or Colour-filled by clicking
on the appropriate box.
2) Resolution - choose one of Low, Medium or High.
3) Zoom - to zoom in or out.
4) View-angle - this is the view angle measured anticlockwise from
the X-axis (in the X-Y plane). + increases and - decreases.
5) Elevation - to adjust the height of viewing above the X-Y plane.
The default value is 10, and increasing this means a higher view,
decreasing means a lower view.
Negative values mean we can 'look from underneath'.
The boxes along the bottom of the screen are (from left to right) :-
1) Graph logo - this toggles the drawing colours.
2) Help - gives a Help screen.
3) Input - enables you to type in your own function.
4) 3D_Lib - returns to the initial Plot-Modes screen.
5) Default - resets the display options to their default values.
6) PLOT - plots a graph using the chosen options.
Note: pressing F1-F12 will plot the library functions directly.
MOUSE
-----
After a graph has been drawn clicking Mouse <Select> or <Menu>
will bring back the Display-Options screen, so that changes to
resolution, zoom, view-angle etc. can be made.
Clicking Mouse <Adjust> will display a prompt for inputting
your own function. Cursor and Copy key editing is available
to make minor adjustments to the current (old) function.
KEYS
----
After a graph has been drawn the following keys are activated:-
1) Function keys F1-F12 - these display the functions held in the
data file `3D_Lib'.
There are 12 different ones for each plot-mode (36 in all). These
are held in the data file `3D_Lib' in the !3D-Plot Directory.
Using !Edit they can be easily changed and/or edited to suit your
own requirements.
2) <I> - to input your own function ( or Mouse <Adjust> )
NOTE: the program assumes a fixed scaling of -10 to +10 on each
of the X,Y,Z axes.
You can use any of the Maths functions provided by BASIC e.g +,-,
*,/,>,<,ABS,SQR,^,SIN,COS,TAN,ASN,ACS,ATN,EXP,LN,LOG etc.
A) Cartesian Z=Z(X,Y) requires a function of the two variables X and
Y (upper case). It will also accept R (=SQR(X^2+Y^2)) for input.
B) Cylindrical Z=Z(R,T) requires a function of the two variables R
and T, where R = SQR(X^2+Y^2) and T = tan(Y/X) (T=theta). It will
also accept X and Y as parameters.
C) Spherical R=R(T,P) requires a function of the two variables T
(theta) and P (phi). The formulae for X,Y,Z are as follows:
X = RsinPsinT, Y = RsinPcosT, Z = RcosP
3) <Tab> - return to the initial Plot-modes screen.
4) <Insert> - toggles the drawing colours.
5) <H> - gives a Help screen.
6) <Shift>+<S> - Saves screens as sprites in the directory `Graphs'
within !3D-Plot. These will be named "Graph-1","Graph-2",... in
succession during each session. After the end of a session they
should then be renamed and copied to another directory, in case
they may be overwritten at the next session.
(For subsequent printing it is probably best to save the graph
with a white background.)
This programme is Copyright.
Author:
R.A.Swetman,
45 Claude Road,
Roath,
Cardiff.