The following code displays the graph of the polar equation r(\theta) = 4 - 2*sin(\theta). I have the region bounded by this curve shaded. I want only the region bounded by this curve and the circle centered at 0 with radius 3 to be shaded.
The radius of the polar axis is 7. I did not specify this. Is the default value one more than the maximum radius of the graph? How do I get the radius of the polar axis to be 8?
I did not specify the dimensions of the plot. It is bigger than I want. How do I get it to be two-thirds the current display size? Can the dimensions be specified by specifying the number of centimeters or inches for the height and width?
Why is there a small black arc - maybe between -5 degrees and 5 degrees drawn at a radius slightly more than 4?
\documentclass{amsart}
\usepackage{amsmath}
\usepackage{tikz}
\usepackage{pgfplots}
\usepgfplotslibrary{polar}
\pgfplotsset{compat=1.11}
\begin{document}
\begin{tikzpicture}
\begin{polaraxis}[
clip=false, major grid style={black}, minor x tick num=3, % 3 minor x ticks between majors
minor y tick num=2, % 2 minor y ticks between majors
grid=both,
xtick={0,45,...,315},
xticklabels={, $\frac{\pi}{4}$, , $\frac{3\pi}{4}$, , $\frac{5\pi}{4}$, , $\frac{7\pi}{4}$},
ytick={0,3,6},
yticklabels={\empty}
]
\addplot[samples=360, mark=none, fill=red!70!black, opacity=0.5, domain=0:360] {4 - 2*sin(\x)};
\addplot[samples=360, mark=none, thick, red!70!black, domain=0:360] {4 - 2*sin(\x)};
\addplot[samples=360, draw=red, thick, mark=none, domain=0:360] {3};
\addplot[black] {4.05};
\end{polaraxis}
\end{tikzpicture}
\end{document}


\begin{polaraxis}[ ..., ymin = 0, ymax = 8, ...]3.problem: use\begin{tikzpicture}[scale=0.66]4.problem?: remove\addplot[black] {4.05};. – Bobyandbob Apr 28 '17 at 14:33ymin=0andymax=8displays a "polar plane" that includes those points within a distance of 8 from the origin. – user74973 Apr 28 '17 at 17:41scale=0.66because it also scales the labels for the angles. Do you know how to specify the dimensions of the "polar plane" in units of centimeters or inches? – user74973 Apr 28 '17 at 17:41\addplot {4.05};. (I had 4.05, but I should have had 8.05.) I wanted two concentric circles of radii 8 and 8.05 to indicate the extent of the displayed "polar plane." The circle with a radius of 8 is drawn withminor x tick num=2. How do I get a circle with radius 8.05 or 8.1 with the same shade of gray to be drawn? – user74973 Apr 28 '17 at 17:41