All published worksheets from http://sagenb.org
Image: ubuntu2004
Options for parametric_plot. Click and drag the 3d graphs to rotate! This command does both 2d and 3d plots.
parametric_plot( f(x,y) , (x,xmin,xmax) , (y,ymin,ymax) )
parametric_plot() plots a curve in 2d or 3d and a surface in 3d. You must declare the variable(s), the vector function and give ranges for the variable(s). Everything else is optional.
Special Options for Curves: thickness
Usual Options: color, opacity, figsize, aspect_ratio, frame, mesh, dots, plot_points, axes, adaptive (see also: plot3d - OPTIONS)
Reference: http://www.sagemath.org/doc/reference/sage/plot/plot3d/parametric_plot3d.html
Here is a simple 2d parametric plot
Notice that parametric_plot is 2d or 3d depending on what it is plotting. (No separate command for 3d plot.)
The thickness of curves depends on the plot size and type. You may need to experiment.
Here is a parametric plot of a surface by parametric function with 2 parameters, (vector function with 3 components in 2 variables).
Notice the 2 ranges of the variables. (This is a piece of the paraboloid: where .)
One problem with parametric plots is you cannot "see" the direction of parameters (as you can see e.g. the positive x-axis).
I often split my plots, coloring them from blue (min) to red (max). Increase/decrease num for more or less splits.
When I am lazy I simply break the interval into several separate plots (first 2 plots below); when I am ambitious I use the sum function (next 2).
To plot a 2d curve in 3d (with z==0), you can add a component or add a plot of an actual 3d curve with opacity=0.
You can combine plot types as long as you obey the rules of each plot.
Click and drag to rotate this to see that we have projected the helix onto the circle.