October 2018
Beginner to intermediate
676 pages
18h 30m
English
Here is the code that plots the sine curve for each of the markers:
x = np.arange(1, 2.6, 0.1) y = np.sin(2 * np.pi * x)
plt.subplots(figsize=(10,8))
custom_markers = ['$'+x+'$' for x in ['£','\$','\%','\clubsuit','\diamondsuit', '\spadesuit','\heartsuit','\sigma', '" />']]
for i,marker in enumerate(custom_markers): plt.plot(x, 2*(i+2)*y, marker=marker, markersize=15)
plt.show()
Read now
Unlock full access