Matplotlib: plot or scatter without marker
there is a simple way to have scatter()
plots (or just plot
s) with data points shown by some marker and connected lines, but when markerfacecolor='none'
(or facecolor=none
) has a line not shown in the marker area.
eg:.
xx = arange(0.0,10.0,0.5) yy = sin(xx) plt.plot(xx,yy,'k-',marker='o',markerfacecolor='none')
leads to the following figure.
But I would like the lines connecting the data points to start not from the center of each marker, but from its borders.
+3
source to share
No one has answered this question yet
Check out similar questions: