set(gca,"FontName","Times New Roman","FontSize",12,"LineWidth",1.2);
时间: 2023-09-10 22:05:46 浏览: 157
关于matlab绘图中字体及图片大小等的设置.pdf
set(gca,"FontName","Times New Roman","FontSize",12,"LineWidth",1.2)是用于设置图形对象属性的MATLAB代码。其中,gca表示获取当前的坐标轴对象,"FontName"和"FontSize"分别用于设置字体的名称和大小,"LineWidth"用于设置线条的宽度。通过这段代码,可以将当前坐标轴的字体设置为Times New Roman,字体大小设置为12,线条宽度设置为1.2。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [matlab 精美散点密度图](https://download.csdn.net/download/weixin_53745221/86738807)[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_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Matlab之绘制图形并保存](https://blog.csdn.net/Snail_s/article/details/107805378)[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_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文