# PolarPlot shows nothing for a simple function

Bug introduced in 8.0.4 or earlier and persists through 11.1.1. Affects only Windows.

I just tried to plot Tan[t]^4 as a polar plot and got... nothing.

PolarPlot[Tan[t]^2, {t, 0, 2 Pi}]


Works:

PolarPlot[Tan[t]^4, {t, 0, 2 Pi}]


Doesn't work:

Changing the 4 to a 4. to enforce numerical results doesn't change anything.

Am I doing something wrong? Is this a bug? In case it matters:

\$Version

"11.0.0 for Microsoft Windows (64-bit) (July 28, 2016)"

• PolarPlot[Tan[t]^4, {t, 0, 2 Pi}] works in 11.1 for macOS for me. Are you able to upgrade? – user6014 Apr 6 '17 at 14:05
• @user, well, Cases[Normal[PolarPlot[Tan[t]^4, {t, 0, 2 π}]], Line[l_] :> l, ∞][[1]] shows that a line is getting plotted, but a look at the values of the coordinates tells me that the automatic PlotRange determined is way off the actual extent of the curve. – J. M. is away Apr 6 '17 at 14:22
• PolarPlot[Tan[t]^3, {t, 0, 2 Pi}, PlotPoints -> 50] /. x_Real :> Clip[x, {-500, 500}] an extremely stupid solution, but possibly works sometimes, at least here...... some extra optimization of Clip's value may make the process more automated. – Wjx Apr 6 '17 at 14:23
• PolarPlot[Tan[t]^4, {t, 0, 2 Pi}, PlotPoints -> 100, MaxRecursion -> 1] – chuy Apr 6 '17 at 15:08
• Wolfram support have confirmed that this is a bug, so I've added in the usual header. They've also suggested MaxRecursion -> 1 as a workaround. – Martin Ender Apr 10 '17 at 13:55