![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MATLAB
恒远不远
这个作者很懒,什么都没留下…
展开
-
matlab画图,想让子图使用不同的色标
语法如下:target=subplot(1,2,1)colormap(target,map)matlab官方文档中的示例:相应内容的链接(colormap的使用)https://ww2.mathworks.cn/help/matlab/ref/colormap.html原创 2020-03-02 18:27:01 · 5476 阅读 · 0 评论 -
matlab 图例legend中实现换行
matlab 图例legend中实现换行如图所示,如果要实现图例中文本的换行(虽然图中本意不是如此),语句如下legend([‘Core NGR’,sprintf(’\n’),’ (cps)’]);%legend([‘第一行内容’,sprintf(’\n’),’ 第二行内容’]);实现结果如下...原创 2018-12-19 17:37:54 · 28425 阅读 · 2 评论