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.

DetailsDetails

  • 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.

ExamplesExamplesopen allclose all

Basic Examples (4)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]=
New in 5.1
New to Mathematica? Find your learning path »
Have a question? Ask support »