How to | Display and Style Data Points on a 2D Curve When
plotting curves from data, there are several methods you can use
to display the data points along the curve. While the default
settings for displaying such plots are suitable in most cases,
Mathematica also includes options that allow you to style the
curves and data points as you wish. ListLinePlot and ListPlot
can create 2D curves from lists of data. First, define some data
to plot: ListPlot is most commonly used to create scatter plots
from lists of data. By default, ListPlot does not join the data
points with a line: ListLinePlot is used to plot a line between
a list of values. By default, Mathematica does not draw points
on curves created by ListLinePlot: You can display the data
points along the curves with the PlotMarkers or Mesh options:
Use the PlotStyle option with Mesh to change the color of each
curve: Use the PlotStyle option with PlotMarkers to change the
color of each curve and its points. Note that the result of
PlotStyle here is differ