6. Step by Step Plotting Curves with
Graphing with 3DMath
3DMath Explorer draws three dimensional
(3D) graphs. But curve dimensions change with number of defined
loop variables. So in this tutorial, in the first place
we grouped curves with their dimensions as one
dimensional (1D) curves, two dimensional (2D) curves and
three dimensional (3D) curves.
Now we take
them one by one and tell how we draw these curvesí
graphs with 3DMath Explorer. But please do remember
3DMath Explorer draws three dimensional (3D) graphs, and
this donít change with dimension of curves, 3DMath
Explorer draws all kind of curves in the same 3D
Graphs of One Dimensional (1D) Curves
Explorer, curves defines with 3 functions one for each 3
axisís. For example to draw a simple function curve like
y=2*x+4, blow definitions must be done.
(=> in reality fz= 0*x=0 )
As you see x
is the variable for three axis functions. So to draw
this curve variable x must be defined as a loop variable
with start, stop and step values.
, Xstep =0.1
enter this curves into curve explorer. As a result of
this we get below graph.
Graphs of Two Dimensional (2D) Curves
take a two dimensional (2D) curve and change same
properties of it, and see how they would effect the
graph (or what graphs we would get).
Sphere is a
two dimensional curve. So it needs two loop variable
that are valid for three axis to draw.
chose the curveís draw type as lines and its line withy
as 8 on the curve explorer, we gets the below
below, you see the same curve on a different background
color after changing its line withy as 1 and its brush
color as Lime.
change start value of loop variable b from 0 to Pi/5 and
rotate the graph a little by mouse.
activate fogging effect but remove perspective
activate perspective effect and make visible yz-grid
that covered with polygons
Graphs of Tree Dimensional (3D) Curves
give a third dimension to a 2D sphere,
5 in the parameters of this curve is radius (r) of it.
So we can change these expressions as below;
5 (or 5<r<5 ,
have to define a new loop variable for third dimension.
Now letís define r as third dimension variable. We
made this variable r a loop variable with start value 4,
end value 5 and step value 1, and we change step values
of a and b with value 0.3.
to Curves / Zooming of Graphs
zooming of graphs mains looking them from a near
position. Looking point is closely related with horizon
point. When horizon point is selected as (0,0,z) and
Z=-500, we are looking to the graph from coordinate at
(0,0,z) and Z=+500. But in %100 zoom view, we wants 1
unit vertical distance to draw with 20 pixel. So this
make us look to graph not from Z=500 but Z=25 (because
500/20 = 25) when %100 zoom view is selected. As a
result when %200 zoom view selected, our looking
point came at coordinate (0,0,12.5), and when %400 zoom
view selected, its goes to coordinate
perspective property of graph is on and the distance
between our view point and graph origin is less than
sphereís radius, we would look and get view of graph
from inside of the sphere towards to outside of
In the below
we are looking at a graph from coordinate at (0, 0, 4)
with %600 zoom. But this coordinate exists in a 3D
sphere. This make us get a view of graph from inside of
this 3D sphere. So we can see inside of this 3D sphere
and an other sphere that stays outside of this
see striped view of the graph instead of the polygon
As you see,
working on with 3DMath Explorer is such an easy.
In the course of time, you get use to 3D math
environment and will learn many more. But from now on,
it depends on you.