필터 지우기
필터 지우기

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"?
irfan Ullah
irfan Ullah 2019년 7월 24일
편집: irfan Ullah 2019년 7월 24일
Sorry, I just want to change the color of the angular axes to black!

댓글을 달려면 로그인하십시오.

답변 (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