Answers for "plt.plot marker"

C
1

matplotlib plot circle marker

plt.plot([1,2,3], marker=11)
plt.plot([1,2,3], marker=matplotlib.markers.CARETDOWNBASE)
Posted by: Guest on May-04-2020
0

add dots to line matplotlib

#Python, matplotlib
from matplotlib import pyplot as plt

#Create the regular line graph with plt.plot, then add the marker argument.
plt.plot(df["col1"], marker='o')

#Example of a few markers:
   -                solid line style
   --               dashed line style
   -.               dash-dot line style
   :                dotted line style
   .                point marker
   ,                pixel marker
   o                circle marker
Posted by: Guest on April-13-2020

Code answers related to "C"

Browse Popular Code Answers by Language