How to | Change the Size of Points in a 2D Scatter Plot
Customization is an important part of the Wolfram Language's extensive data visualization capabilities. While the default settings for displaying points in a plot are suitable in most cases, you have full control over the size of the points in the plot.
When plotting data with ListPlot, the Wolfram Language automatically chooses how to display the points:
By using the PlotMarkers option, you can gain much more control over the appearance of the points in a plot. The setting Automatic gives a predefined standard sequence of markers for successive lists of points.
Setting point sizes with PlotMarkers will cause the points to be absolute in size. In other words, the size of the points will not change if you resize the plot.
To see how each size setting looks, click the sizes in this Manipulate:
You can also set the size of points in PlotMarkers by using numerical values.
To see how the different sizes look, use the slider in this Manipulate to adjust the point size from 1 to 30:
AbsolutePointSize lets you specify the size of points by using an absolute point diameter. The units are measured in printer's points, equal before magnification to 1/72 of an inch:
PointSize and AbsolutePointSize also accept the predefined symbolic values Tiny, Small, Medium, and Large. When these predefined symbolic values are used, regardless of whether they are used with PointSize or AbsolutePointSize, the points generated are absolute in size.
Instead of using Automatic markers, the markers in this last plot were set explicitly. For more information on specifying the markers used in plots, see How to: Change the Type and Color of Points in a 2D Scatter Plot.
You can also use PlotStyle and PointSize to give the points of each dataset different sizes. The points for testData1 have a relative PointSize of 0.02, the points for testData2 have a relative PointSize of 0.04, and the points for testData3 have a relative PointSize of 0.06: