How would I change the color of the angular axes without changing the color of the grid lines in polar plot

2 次查看(过去 30 天)
How would I change the color of the angular axes without changing the color of the grid lines in polar plot, Fig. 1. So, I can clearly see the color difference between the edge line and grid lines, as shown in Fig. 2.
  4 个评论
Jan
Jan 2019-7-24
编辑:Jan 2019-7-24
You asked "change color of the angular axes without changing the color of the grid lines" at first. Now you want to change the grid lines also? What exactly is "the theta line"?

请先登录,再进行评论。

回答(1 个)

Jan
Jan 2019-7-24
编辑:Jan 2019-7-24
AxesH = polaraxes;
theta = 0:0.01:2*pi;
rho = sin(2*theta).*cos(2*theta);
polarplot(AxesH, theta, rho)
AxesH.GridColor = [1, 0, 0];
You can modify the Properties of AxesH.RAxis and AxesH.ThetaAxis also.

类别

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