({{, (RefLink[MaxPlotPoints, paclet:ref/MaxPlotPoints])
is an option for plotting functions like (RefLink[ArrayPlot, paclet:ref/ArrayPlot]) and (RefLink[ListPlot3D, paclet:ref/ListPlot3D]) that specifies the maximum number of points that will explicitly be included in the output. }})

OpenersNotesSection(Spacer1)Details

With (RefLink[MaxPlotPoints, paclet:ref/MaxPlotPoints])->(RefLink[Infinity, paclet:ref/Infinity]) all points in the input will be included in the output.

With finite settings for (RefLink[MaxPlotPoints, paclet:ref/MaxPlotPoints]), the total number of points plotted is reduced by combining nearby points.

OpenersPrimaryExamplesSection(Spacer1)Examples  (4)

OpenersExampleSection0(Spacer1)Basic Examples  (4)

All the data points are used by default:

ListLinePlot[Table[{x,Sin[x]},{x,0,2Pi,0.1}],Mesh->All]

Only use 25 points for the plot:

ListLinePlot[Table[{x,Sin[x]},{x,0,2Pi,0.1}],Mesh->All,MaxPlotPoints->25]

Features can be minimized with a large dataset:

ArrayPlot[Array[GCD,{200,200}],ColorFunction->Hue]

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

ArrayPlot[Array[GCD,{200,200}],ColorFunction->Hue,MaxPlotPoints->50]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[PlotPoints, paclet:ref/PlotPoints])  ▪  (RefLink[Partition, paclet:ref/Partition])  ▪  (RefLink[ListConvolve, paclet:ref/ListConvolve])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Plotting Options, paclet:guide/PlottingOptions])}})}})