# List(Log)Plot with “high” resolution results in various warnings, e.g. BinCounts::step

Here is some very odd behavior from ListLogPlot.

So if I want to plot a function using LogPlot, I can specify the PlotRange in either {min,max} or {max,min} format.

LogPlot[x^6, {x, 0, 5}, PlotRange -> {10^-9, 10^5}]
LogPlot[x^6, {x, 0, 5}, PlotRange -> {10^5, 10^-9}]


So now I try to do the same thing with ListLogPlot I encounter an error:

list = Table[{x, x^6}, {x, 0, 5, .01}];
Grid[{{ListLogPlot[list, PlotRange -> {10^-9, 10^5}],
ListLogPlot[list, PlotRange -> {10^5, 10^-9}]}}]


Obviously the problem can be fixed by putting the PlotRange specification in order, but it can also be fixed by changing the x-coordinate grid spacing.

list = Table[{x, x^6}, {x, 0, 5, .02}];
ListLogPlot[list, PlotRange -> {10^5, 10^-9}]


That's weird. Weirder still - the more plots you try to show at the same time, the coarser you need to make the grid spacing to avoid the error. For two lists, we need $\Delta x>0.03$

(list = Table[{x, x^6}, {x, 0, 5, #}];
ListLogPlot[{list, {#1, 10 #2} & @@@ list},
PlotRange -> {10^5, 10^-9}]) & /@ {.02, .03}


Adding a third list, it is fine with $\Delta x>0.03$, but for a fourth list, $\Delta x>0.05$ is needed.

What is behind this odd behavior in ListLogPlot?

• @JasonB Thanks for editing and bringing it right to the issue – Lukas Oct 23 '15 at 11:28