176 Geometry
Curve
function
Draws the plot of a function, given an expression in the
independent variable x. Note the use of lowercase x.
plotfunc(Expr)
Example:
Example: plotfunc(3*sin(x)) draws the graph of y=3*sin(x).
circle
Draws a circle, given the endpoints of the diameter, or a
center and radius, or an equation in x and y.
circle(point1, point2) or circle(point1, point 2-point1) or
circle(equation)
Examples:
circle(GA, GB) draws the circle with diameter AB.
circle(GA, GB-GA) draws the circle with center at point
A and radius AB.
circle(x^2+y^2=1) draws the unit circle.
This command can also be used to draw an arc.
circle(GA, GB, 0, π/2) draws a quarter-circle with
diameter AB.
circumcircle
Draws the circumcircle of a triangle; that is, the circle
circumscribed about a triangle.
circumcircle(point1, point2, point3)
Example:
circumcircle(GA, GB, GC) draws the circle
circumscribed about ΔABC
conic
Plots the graph of a conic section defined by an expression in
x and y.
conic(expr)
Example:
conic(x^2+y^2-81) draws a circle with center at (0,0)
and radius of 9