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 a PolarAxes 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.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.