Having looked here, what should I do differently to get the progress indicator working properly?
Monitor[Plot[{Pause[0.1];
LogIntegral[x] - Sum[2 N[Re[ExpIntegralEi[ZetaZero[n] Log[x]]]], {n, 1, 500}] - Log[2],
Sum[PrimePi[x^(1/n)]/n, {n, 1, Floor[Log[x]]}]},
{x, 2, 1000}], Row[{ProgressIndicator[x, {2, 1000}], x}, " "]]



Sum[2 N[Re[ExpIntegralEi[ZetaZero[n] Log[x]]]]. If you remove that, things work fine. – Greg Hurst Jul 21 '14 at 19:58ProgressIndicatorseems to go through each sum, rather than indicate the progress of the entire calculation. – martin Jul 21 '14 at 20:00Plotadaptively evaluatesxin a non sequential order. Without knowing a priori how many evaluations will be needed I see no sensible way to make the progress indicator work – george2079 Jul 21 '14 at 20:01Plotgoes from 2 to 1000 in small steps is incorrect.The plot process is recursive, with places that bend too much being refined in later stages. – Sjoerd C. de Vries Jul 21 '14 at 20:03MaxRecursion -> 0, PlotPoints -> 200– george2079 Jul 21 '14 at 20:16Sumwork withProgressIndicator? – martin Jul 21 '14 at 20:18Monitor[Sum[Pause[0.1]; x, {x, 1, 100}], Row[{ProgressIndicator[x, {1, 100}], x}, " "]]– Sjoerd C. de Vries Jul 21 '14 at 20:20