MATLAB Answers

0

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

Asked by irfan Ullah on 24 Jul 2019
Latest activity Edited by Jan
on 24 Jul 2019
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 Comments

Show 1 older comment
Thank you Jan for the reply.
Don't worry about the circles. I just want to know how can I change the color of the theta line and grid lines.
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"?
Sorry, I just want to change the color of the angular axes to black!

Sign in to comment.

Tags

1 Answer

Answer by Jan
on 24 Jul 2019
Edited by Jan
on 24 Jul 2019

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.

  0 Comments

Sign in to comment.