極座標ヒストグラムの下にラベルを追加する方法

極座標ヒストグラムの下にラベルを追加する方法

極座標ヒストグラムのテキストの下にテキストを追加したいと思います。

もともと、私は通常のヒストグラムを持っていて、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

ハッキーな半手動ソリューション:

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];

コード出力:

コード出力

関連情報