parGosper SciMax Toolbox parametric_surface

SciMax Toolbox >> parametric

parametric

Maxima Graphic object

Calling Sequence

parametric (xfun,yfun,par,parmin,parmax)
parametric(xfun,yfun,zfun,par,parmin,parmax)

Description

Draws parametric functions in 2D and 3D.

This object is affected by the following graphic options: nticks, line_width, line_type, key and color.

2D

parametric (xfun,yfun,par,parmin,parmax) plots parametric function [xfun,yfun], with parameter par taking values from parmin to parmax.

Example:

(%i1) load(draw)$
(%i2) draw2d(explicit(exp(x),x,-1,3),
             color = red,
             key   = "This is the parametric one!!",
             parametric(2*cos(rrr),rrr^2,rrr,0,2*%pi))$

3D

parametric (xfun,yfun,zfun,par,parmin,parmax) plots parametric curve [xfun,yfun,zfun], with parameter par taking values from parmin to parmax.

Example:

(%i1) load(draw)$
(%i2) draw3d(explicit(exp(sin(x)+cos(x^2)),x,-3,3,y,-3,3),
             color = royalblue,
             parametric(cos(5*u)^2,sin(7*u),u-2,u,0,2),
             color      = turquoise,
             line_width = 2,
             parametric(t^2,sin(t),2+t,t,0,2),
             surface_hide = true,
             title = "Surface & curves" )$
parGosper SciMax Toolbox parametric_surface