How do I label the R-axis in a polar plot?

16 visualizaciones (últimos 30 días)
MathWorks Support Team
MathWorks Support Team el 10 de En. de 2017
Editada: MathWorks Support Team el 19 de Mayo de 2023
How do I label the R-axis in a polar plot?

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 17 de Mayo de 2023
Editada: MathWorks Support Team el 19 de Mayo de 2023
In R2016a and later releases, after having created a polar axes (via the "polaraxes" function directly or as a result of creating a polar plot via the "polarplot" function), you can get the "RAxis" property of that polar axes.  The "RAxis" object has a property named "Label" that contains a "Text" object, which has a property named "String".  For details about the "RAxis" property, refer to the following link:
To modify the r-axis label, you can adapt the following example code:
ax = polaraxes;
ax.RAxis.Label.String = 'My Label';
The "RAxis" property is a Numeric Ruler. To further manipulate the r-axis, you can modify the Numeric Ruler Properties of "ax.RAxis".  For details, refer to the following link:

Más respuestas (0)

Categorías

Más información sobre Polar Plots en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Productos


Versión

Aún no se ha introducido una versión.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by