Loading lesson path
Concept visual
Start at both ends
You can use the keyword argument marker to emphasize each point with a specified marker:
Mark each point with a circle:
Formula
import matplotlib.pyplot as plt import numpy as np ypoints = np.array([3, 8, 1, 10])plt.plot(ypoints, marker = 'o') plt.show()
Mark each point with a star:... plt.plot(ypoints, marker = '*')...
You can choose any of these markers:
'o'
Try it » '*'
Try it » '.'
Try it » ','
Try it » 'x' X Try it » 'X' X (filled) Try it » '+' Try it » 'P' Plus (filled) Try it » 's'
Try it » 'D'
Try it » 'd' Diamond (thin) Try it » 'p'
Try it » 'H'
Try it » 'h'
Try it » 'v'
Try it » '^'
Try it » '<'
Try it » '>'
Try it » '1'
Try it » '2'
Try it » '3'
Try it » '4'