plt.plot线条样式
时间: 2023-10-17 14:29:43 浏览: 111
plt.plot函数可以使用不同的参数来指定线条的样式。其中,linestyle参数可以用来修改线条的样式,可以使用以下几种常用的取值: "--"表示虚线,"-"表示实线,"-."表示点划线,":"表示虚点线。此外,还可以使用ls参数作为linestyle的简写形式。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [python matplotlib.pyplot.plot()参数用法](https://download.csdn.net/download/weixin_38655810/14849752)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Python可视化中...线条的详细样式及线性、保存图片、plot的详细风格和样式)、背景色、点和线的详细设置](https://blog.csdn.net/wei18791957243/article/details/83831266)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文