plt.scatter函数设置形状
时间: 2023-10-14 07:00:47 浏览: 98
Python matplotlib通过plt.scatter画空心圆标记出特定的点方法
引用中给出了scatter函数的参数列表,其中包括了一个参数marker,用于设置散点的形状。在引用的例子中,可以看到marker参数的默认值是小圆圈 'o'。所以如果想要设置散点的形状,可以通过该参数来实现。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [【Python知识】可视化函数plt.scatter](https://blog.csdn.net/gongdiwudu/article/details/129947219)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *3* [matplotlib可视化之散点图plt.scatter()](https://blog.csdn.net/weixin_46707493/article/details/119831397)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文