4
$\begingroup$

I am wondering why the displayed polar grid lines are limited by the maximum plotted value (see minimal example below) - is it possible to show polar grid lines beyond the largest radial value?

Thanks and Best, Tim

{ListPolarPlot[{{\[Pi]/4, 0.5}}, PlotRange -> {{-1, 1}, {-1, 1}}, 
  PolarGridLines -> {Range[0, 2 \[Pi], 2 \[Pi]/24], Range[0, 1, 0.1]}],
 ListPolarPlot[{{\[Pi]/4, 0.8}}, PlotRange -> {{-1, 1}, {-1, 1}}, 
  PolarGridLines -> {Range[0, 2 \[Pi], 2 \[Pi]/24], 
    Range[0, 1, 0.1]}]}
$\endgroup$
2
  • 3
    $\begingroup$ a work-around: add a second data set with invisible styling: {ListPolarPlot[{{{\[Pi]/4, 0.5}}, Style[{{0, 1}}, Opacity[0]]}, PlotRange -> {{-1, 1}, {-1, 1}}, PolarGridLines -> {Range[0, 2 \[Pi], 2 \[Pi]/24], Range[0, 1, 0.1]}], ListPolarPlot[{{{\[Pi]/4, 0.8}}, Style[{{0, 1}}, Opacity[0]]}, PlotRange -> {{-1, 1}, {-1, 1}}, PolarGridLines -> {Range[0, 2 \[Pi], 2 \[Pi]/24], Range[0, 1, 0.1]}]} $\endgroup$
    – kglr
    Commented Apr 8, 2021 at 0:36
  • $\begingroup$ Thanks, exactly what I've done for now - but still a bit disappointing that this seems to be the only possible work-around $\endgroup$
    – Tim
    Commented Apr 10, 2021 at 19:50

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.