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.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.