ezpolar
(Not recommended) Polar coordinate plotter
ezpolar
is not recommended. Use fpolarplot
instead.
Description
Examples
Polar Plot of Symbolic Expression
Input Arguments
f
— Input
symbolic function | symbolic expression
Input, specified as a symbolic function or expression.
[a b]
— Angle to plot over
vector | symbolic vector
Angle to plot over, specified as a vector, or a symbolic vector.
Version History
Introduced before R2006aR2024a: Not recommended
The ezpolar
function is not recommended. However, there are no plans
to remove the function. To plot a symbolic expression or function in polar coordinates, use
fpolarplot
instead.
The fpolarplot
function has these advantages over
ezpolar
:
Unlike
ezpolar
,fpolarplot
uses additional evaluation points when needed for more accurate function plotting.With
fpolarplot
, you can specify an argument to customize the line style, marker symbol, and color.fpolarplot
uses aPolarAxes
object, which you can customize by setting the PolarAxes Properties. For example, you can change the range of angle values or choose whether to display angles in radians or degrees.
This table shows some typical usages of ezpolar
and how to update
your code to use fpolarplot
instead. To display the plotted expression or
function as ezpolar
does, use the title
function.
Not Recommended | Recommended |
---|---|
syms t ezpolar(1 + cos(t)) |
syms t fpolarplot(1 + cos(t)) title("r = 1 + cos(t)") |
syms t ezpolar(cos(t),[0 pi/4]) |
syms t fpolarplot(cos(t),[0 pi/4]) title("r = cos(t)") |
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)