matlab画图调整线的粗细
时间: 2023-08-26 14:17:10 浏览: 357
在MATLAB中,可以通过修改plot函数的linewidth参数来调整线的粗细。例如,使用plot(x,y,'LineWidth',2)可以将线的粗细设置为2。另外,在legend函数中无法直接设置线条的粗细,它是由plot函数中的linewidth参数决定的。所以,如果想要调整图例中线条的粗细,需要在plot函数中指定相应的linewidth值。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [MATLAB 快速绘制曲线图的形状,粗细,颜色](https://blog.csdn.net/zhuguanlin121/article/details/115437869)[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^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [matlab修改图例/图注/legend中线条的粗细](https://blog.csdn.net/nebula1008/article/details/128221087)[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^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文