# Automatically zoom-out on ListPlot?

Mathematica chooses the PlotRange for a ListPlot such that the lowest x-value lies on the y-axis and vice versa. Because of this these points often are difficult to find. I could increase the dot size, but then a listplot easily becomes messy.

Isn't there some kind of zoom-out function or parameter which increases the limits of both plotranges? I tried ImagePadding, but that adds a padding around the full plot, including the axes.

• PlotRangePadding? – kglr Feb 4 '15 at 12:18
• @kguler - I almost felt embarrassed that I didn't find that, but it doesn't do the trick: the points remain on the axes. Oddly, in the help file example it does exactly what I want. Thanks for your reply, anyway. – stevenvh Feb 4 '15 at 12:20
• You can set the x and y ranges both with PlotRange->{{xmin,xmax},{ymin,ymax} – Jason B. Feb 4 '15 at 12:24
• @steven, you probably need to play with AxesOrigin too. – kglr Feb 4 '15 at 12:24
• Steven, nice to see you posting again. :-) – Mr.Wizard Feb 4 '15 at 13:29

I propose using PlotRangePadding and a partial Frame in place of axis lines:

ListPlot[Prime @ Range @ 25,