This worksheet shows you how to create a 3D plot from a function of two variables, and from a set of parametric functions. It also explains a little bit about how to format the look of these plots for maximum effect.
The 3D graph on the left shows the plot of a function of two variables, a paraboloid. The 3D graph on the right shows a parametric plot of a surface of revolution, specified by three functions to determine the x, y, and z coordinates.
Click in a new region to insert a 3D graph (surface plot) and enter the name of the function in this region by typing:
This plot is a QuickPlot, meaning that you don't have to specify a range or spacing for the independent variables because Mathcad picks them automatically. To adjust the range used, double-click on the plot, and change the settings on the QuickPlot tab. The default is -5 to 5 for each independent variable with a spacing of 20 points across each range.
Or, select Graph > 3D Bar Plot from the Insert menu. Then, enter the name of the function defined in the previous example, H1.
Then, insert a 3D graph region (surface plot) and enter the name of the functions, surrounded by parentheses, in this region by typing:
In addition to functions of two variables and sets of parametric functions, you can also enter matrix names and sets of three paired vectors specifying X, Y, and Z coordinates. See the Quicksheet on plotting data for more examples.
Click on the plot itself, hold down the mouse button, and move the mouse around. Notice that this changes the view you have of the plot.
On the Appearance page, select "Fill Surface" and "Solid Color" in the first column.
Click the color box to the right of the Solid Color selection. Select the following color from the palette and click OK twice to close the dialogs:
Double-click on the plot again. On the Advanced page, set %Transparency to 50%. On the General page, set the Rotation, Tilt, and Twist as follows: