matploitlib plot 的marker

Posted lm3306

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了matploitlib plot 的marker相关的知识,希望对你有一定的参考价值。

技术分享图片

技术分享图片

plt.plot(xnew, y_smooth6,color=‘red‘,linewidth = ‘3‘,label=‘p1=0.6,p2=0.6 n1=2000 n2=2000‘,markerfacecolor=‘red‘,marker=‘o‘,markersize=12)
plt.plot(xnew, y_smooth7,color=‘green‘,linewidth = ‘3‘,label=‘p1=0.6,p2=0.8 n1=2000 n2=2000‘,markerfacecolor=‘green‘,marker=‘*‘,markersize=15)
plt.plot(xnew, y_smooth8,color=‘blue‘,linewidth = ‘3‘,label=‘p1=0.8,p2=0.8 n1=2000 n2=2000‘,markerfacecolor=‘blue‘,marker=‘s‘,markersize=12)

 



以上是关于matploitlib plot 的marker的主要内容,如果未能解决你的问题,请参考以下文章