matlab坐标轴刻度线朝内
时间: 2023-10-20 22:34:02 浏览: 356
matlab2.rar_坐标轴_曲线MATLAB_绘制函数曲线
5星 · 资源好评率100%
要让Matlab坐标轴刻度线朝内,你可以使用以下代码:
```
set(gca,'TickDir','in')
```
这会将当前的坐标轴刻度线方向设置为朝内。你可以在绘图之前或之后执行这行代码来实现这个效果。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [matplotlib绘图设置刻度线朝内、不显示刻度等常用代码](https://blog.csdn.net/liuxiaoru_/article/details/128907143)[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* [matplotlib绘图坐标轴刻度朝内](https://blog.csdn.net/KEE_HA/article/details/84643327)[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 ]
阅读全文