Plots > 3D Plots > Comparing 3D Plots of One and Two Variable Functions
  
Comparing 3D Plots of One and Two Variable Functions
It is possible to plot a function of one or two variables in a 3D plot region.
This topic compares the plots of such functions.
Plot a Function of One Variable
Define and plot a one variable function f1(x):
Click to copy this expression
The default 3D plot of f1(x) is on the left, and it shows the trace of a line. The plot on the right is the same plot but rotated to verify that the trace is indeed a line.
Default Axes Position
Rotated Axes
Click to copy this expression
Click to copy this expression
Plotting the one variable function f1(x) in a 3D region is equivalent to plotting a two variable function f2(u,v) where you only specify one variable, as shown below:
Click to copy this expression
Default Axes Position
Rotated Axes
Click to copy this expression
Click to copy this expression
Plot a Function of Two Variables
Define a two variable function f3(x,y) in terms of one variable:
Click to copy this expression
The default 3D plot of f3(x,y) is on the left, and it shows a plane. The plot on the right is the same plot but rotated to verify that the trace is indeed a plane.
Default Axes Position
Rotated Axes
Click to copy this expression
Click to copy this expression
Plotting the one variable function f3(x,y) in a 3D region is equivalent to plotting a two variable function f4(u,v) where you specify two variables, as shown below:
Click to copy this expression
Default Axes Position
Rotated Axes
Click to copy this expression
Click to copy this expression