Import Matplotlib.pyplot as Plt
Enter Plt.plot in Ipython?
The following format string characters is accepted to control
The line style or marker:
================ ===============================
Character description
================ ===============================
"-" Solid line style
"--" "dashed line style
'--. ' "Dash-dot Line Style"
"': ' dotted line style
"'. ' "Point marker
"', '" pixel marker
' O ' Circle marker
"V" triangle_down marker
' ^ ' ' triangle_up marker
"<" Triangle_left marker
">" Triangle_right marker
"1" Tri_down marker
"2" tri_up marker
"3" Tri_left marker
"4" Tri_right marker
' s ' ' square marker
' P ' ' Pentagon marker
"*" Star marker
' H ' ' hexagon1 marker
' H ' ' hexagon2 marker
' + ' plus marker
"X" x marker
' D ' ' diamond marker
"' d ' thin_diamond marker
"' | ' "' VLine marker
"' _ '" hline marker
================ ===============================
The following color abbreviations is supported:
========== ========
Character Color
========== ========
' B ' Blue
' G ' green
' R ' Red
' C ' cyan
' m ' Magenta
' Y ' Yellow
' K ' Black
' W ' White
========== ========
Python's PLT drawing format color and line shape