├── README.md ├── UtilForFormat.m └── demo.m /README.md: -------------------------------------------------------------------------------- 1 | # utilForFormat 2 | matlab学位论文绘图辅助工具 3 | 4 | (详细介绍参考: https://www.jianshu.com/p/ec82162d20d4) 5 | 6 | 7 | 运行demo.m即可,用的时候直接拷贝相应的代码段即可。 8 | 9 | 复制图片前需要保证copy options已选择: 10 | - preserve information 11 | - transparent background 12 | - match figure screen size 13 | 14 | 实现了: 15 | 1. 固定宽度设置(这样就不用缩放了,直接贴到word里,那么字体就不会变大变小) 16 | 2. 自动样式(多个不同的线在同一图中时,不需要手动设置逐个线的样式了) 17 | 3. 二维图固定宽度时可能在两侧出现空白,写代码解决了。 18 | 4. 使用情况统计功能: 19 | 数据是公开的,实时更新,大家可以在http://new.cnzz.com/v1/login.php?siteid=1254502417 里查看(访客分析->地区\运营商)。如果你不想被统计,可以关闭该功能,很简单,把 20 | ```java 21 | utilForFormat = UtilForFormat('on'); 22 | ``` 23 | 里的on改为off即可。 24 | 25 | 26 | 效果和说明如图: 27 | ![image.png](http://upload-images.jianshu.io/upload_images/230469-d7aa63ef5d800cd9.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) 28 | -------------------------------------------------------------------------------- /UtilForFormat.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ztinpn/utilForFormat/968efbbde51d83acc7c70724155c1e39644a2dab/UtilForFormat.m -------------------------------------------------------------------------------- /demo.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ztinpn/utilForFormat/968efbbde51d83acc7c70724155c1e39644a2dab/demo.m --------------------------------------------------------------------------------