plot::polar
-- generate plots in
polar coordinatesplot::polar
([f1, f2], phi = pmin..pmax)
represents a plot of the curve defined by phi -> (f1(phi);
f2(phi)) with phi in [pmin,pmax] in polar
coordinates.
plot::polar([f1, f2], phi = pmin..pmax <, option1,
option2>...)
f1, f2 |
- | arithmetical expressions in phi |
phi |
- | identifier (the angle) |
pmin, pmax |
- | arithmetical expressions |
option1, option2, ... |
- | plot option(s) for two-dimensional graphical objects |
a graphical object of the domain type plot::Curve2d
.
plot2d
, plot::spherical
, plot::cylindrical
plot(...)
to display the result on the
screen.option1
, option2
... must
be valid plot options for two-dimensional graphical objects. See
plot2d
for details.
Note that scene options are not allowed! You may
give scene options as optional arguments for the function plot
, or use plot::Scene
to create an object
representing a graphical scene.
>> delete phi: c:= plot::polar([phi, phi], phi = [0, 4*PI], Grid = [100])
plot::Curve2d([phi cos(phi), phi sin(phi)], phi = 0..4 PI)
>> plot(c, Axes = None)
plotlib::polarplot
plot::polar
is now part of the new plot library
plot
, and thus its
calling syntax and the return value were changed.