Matplotlib also supports more advanced plots, such as scatter plots. “o” letter marker Matplotlib Scatter Plot Example Plt.plot(xcoords, marker = “o”, linestyle = “-”)Ī partial list of string characters that are acceptable options for marker and linestyle: “-” solid line style # Mark each data value and customize the linestyle: In this example, each data value is labeled with the letter “o”, and given a dashed linestyle “–”: import matplotlib.pyplot as plt
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |