Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Parametric Calculator

Parametric

-- Graphic object: parametric (<xfun>,<yfun>,<par>,<parmin>,<parmax>) -- Graphic object: parametric (<xfun>,<yfun>,<zfun>,<par>,<parmin>,<parmax>) Draws parametric functions in 2D and 3D.

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

load(draw);
 scene1: gr2d(title="ellipse",                             nticks=30,                             parametric(2*cos(t),5*sin(t),t,0,2*%pi));
 scene2: gr2d(title="triangle",                             polygon([4,5,7],[6,4,2]));
 draw(scene1, scene2, columns = 2);
 load(draw);
 draw(gr3d(explicit(x^2+y^2,x,-1,1,y,-1,1)));
 draw3d(explicit(x^2+y^2,x,-1,1,y,-1,1));
 load(draw);
 draw(                  delay     = 100,                  file_name = "zzz",                  terminal  =

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" )$

There are also some inexact matches for parametric. Try ?? parametric to see them.

(%o1)                                true
(%i2) 

Parametric Example

Related Examples

parametric

? parametric;

Calculate

parametric

? parametric;

Calculate