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

조회 수: 25 (최근 30일)
MathWorks Support Team
MathWorks Support Team 2017년 1월 10일
편집: MathWorks Support Team 2023년 5월 19일
How do I label the R-axis in a polar plot?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2023년 5월 17일
편집: MathWorks Support Team 2023년 5월 19일
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:

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Polar Plots에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

아직 릴리스를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by