Plot Command Example
Action
An all purpose graphing command that draws the graph of a specifed mathematical object. Generally, it is faster than its corresponding named command (Graph, Curve, etc.)
plot 3*sin
draws the graph of the sine function multiplied by 3
c(t) := [4*cos(t), 3*sin(t)];
plot c;
draws the ellipse.
plot [ [ 1,2,3,4,5] , [5, 3, 1, 3, 5] ]
plots the scatterplot of the points (1,5) (2,3) (3,1) (4,3) (5,5) .
plot polygon [ [ 1,2,3,4,5] , [5, 3, 1, 3, 5] ]
plots the polygon spanned by the points (1,5) (2,3) (3,1) (4,3) (5,5), using the current fill color.