MaxPlotPoints

MaxPlotPoints

is an option for plotting functions like ArrayPlot and ListPlot3D that specifies the maximum number of points that will explicitly be included in the output.

Details

  • With MaxPlotPoints->Infinity all points in the input will be included in the output.
  • With finite settings for MaxPlotPoints, the total number of points plotted is reduced by combining nearby points.

Examples

Basic Examples  (4)

All the data points are used by default:

In[1]:=
Click for copyable input
Out[1]=

Only use 25 points for the plot:

In[1]:=
Click for copyable input
Out[1]=

Features can be minimized with a large dataset:

In[1]:=
Click for copyable input
Out[1]=

Reduce the number of points used to more easily see patterns in the data:

In[1]:=
Click for copyable input
Out[1]=

See Also

PlotPoints  Partition  ListConvolve

Introduced in 2004
(5.1)