saving . . . saved Scatter Plot has been deleted. Scatter Plot has been hidden .
Scatter Plot
Title
Question
How the change the shape of markers in scatter plot.

Python-3.4.3 Other-Types-Of-Plots 04-05 min 10-20 sec 03-06-20, 12:33 p.m. HITESH_NINAMA

Answers:

You can change the shape and the size of the marker by adding the marker =  and the markersize = keyword arguments in the plot function;

plt.plot([1,2,3], marker='+', markersize=4.2)

See<a href="https://matplotlib.org/3.1.1/api/markers_api.html" style="background-color: rgb(255, 255, 255);">https://matplotlib.org/3.1.1/api/markers_api.html</a> for all possible shapes

05-06-20, 2:27 p.m. ankitrj.iitb
ok
thanks
05-06-20, 3:20 p.m. HITESH_NINAMA

Login to add comment


Log-in to answer to this question.