극 히스토그램 아래에 라벨을 추가하는 방법

극 히스토그램 아래에 라벨을 추가하는 방법

극좌표 히스토그램 텍스트 아래에 텍스트를 추가하고 싶습니다.

원래는 일반 히스토그램이 있고 다음을 사용할 수 있습니다.x레이블다음과 같이 텍스트를 넣으려면:

histogram_orientation_of_blobs = histogram(orientation, 'Normalization','probability');
xlabel(['orientation ($^{\circ}$)'],'Interpreter','latex','fontsize', 12)

그러나 내가 사용하면

histogram_orientation_of_blobs = polarhistogram(orientation, 'Normalization','probability');
xlabel(['orientation ($^{\circ}$)'],'Interpreter','latex','fontsize', 12)

나는 그것을 얻을 수 없다. 극 히스토그램에 xlabel이 없기 때문인 것 같은데 극 히스토그램 아래에 이 플롯에 대한 설명을 어떻게 추가합니까?

답변1

Hacky 반수동 솔루션:

theta = 0:0.01:2*pi;
rho = sin(2*theta).*cos(2*theta);
polarplot(theta,rho)
ax = gca;
ax.ThetaAxis.Label.String = 'foo';
ax.ThetaAxis.Label.Rotation = 0;
ax.ThetaAxis.Label.Units = 'normalized';
ax.ThetaAxis.Label.Position = [0.5,-0.06,0];

코드 출력:

코드 출력

관련 정보