Add3DFunctionPlotGraph2 Method

The Add3DFunctionPlotGraph2 method creates a new 3D function graph. Returns an AutoGraph object.

Syntax

object.Add3DFunctionPlotGraph2( Type, function1, function2, firstValue, lastValue, id )

 

Parameter Type Description
Type grfFunctionPlotType required, function plot type (Y=F(X), X=F(Y), or parametric)
function1 String required, function to plot (y=f(x), x=f(y), or
function2 Variant optional, function to plot ( y=g(T) if type is parametric; otherwise ignored)
firstValue Variant optional, first value to evaluate the function(s), default = 0
lastValue Variant optional, last value to evaluate the function(s), default = 25
id Variant optional, graph name

 

Remarks

See Mathematical Functions for information on writing function equations.

Example 1

This example shows how to create a 3D YX function plot.

Shapes.Add3DFunctionPlotGraph2( grfFunctionPlotYX, "2+x")

Example 2

This example shows how to create a parametric 3D function plot.

Shapes.Add3DFunctionPlotGraph2( grfFunctionPlotParametric, " 2*cos(T)", "4*T")

Example 3

This example shows how to create a 3D XY function plot.

Shapes.Add3DFunctionPlotGraph2( grfFunctionPlotXY, "2*y")

 

Used by: AutoShapes collection

See Also

Auto3DFunctionPlot object

Add3DFunctionPlot2