![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Matlab
Yuhong Tang
这个作者很懒,什么都没留下…
展开
-
Matlab 修改图例顺序
step 2: 在图中点击要调整图例的曲线,右键剪切。step 3:点击空白处刷新图片,可以看到图例更新了。step 1: 打开fig文件,然后点击绘图浏览器。step 4:重新粘贴刚才复制的曲线,并更新图例。原创 2024-04-07 17:00:05 · 1512 阅读 · 3 评论 -
Matlab plot函数画图间隔标记
x=1:1:150;y = 1:1:150;maker_idx = 1:5:150;plot(x,y,'-^','MarkerIndices',maker_idx)原创 2021-09-24 21:57:22 · 8548 阅读 · 1 评论 -
Matlab legend换行 多个legend 阵列排布
目标:把4个图例弄成2X2的出现在图中x = linspace(0,pi);y1 = cos(x);plot(x,y1)hold ony2 = cos(2*x);plot(x,y2)y3 = cos(3*x);plot(x,y3)y4 = cos(4*x);plot(x,y4)hold offlegend({'cos(x)','cos(2x)','cos(3x)','cos(4x)'},'Location','northwest','NumColumns',2)...原创 2021-09-24 21:54:53 · 4811 阅读 · 4 评论 -
Matlab legend 水平放置
1)legend横排hl = legend(H([1 6 11 16 21],'1,'6','11’,'16','21');set(hl,'Orientation','horizon')2)不显示方框:hl = legend(H([1 6 11 16 21],'1,'6','11’,'16','21');set(hl,'Box','off');3)其他位置参考 help原创 2021-09-24 21:52:02 · 4645 阅读 · 0 评论 -
Matlab图形配色
https://materialui.co/colors/https://flatuicolors.com/palette/se原创 2021-09-24 21:48:18 · 136 阅读 · 0 评论