读书人

MATLAB图例求大神指点

发布时间: 2014-01-08 00:30:58 作者: rapoo

MATLAB图例,求大神指导。
MATLAB图例,求大神指点
像这样的用MATLAB图所做的一个。
我想把原本的图例格式“—first
..second
**third
++ forth”
变成“—first ..second
**third ++ forth”
请问大神们要怎么做?
MATLAB程序代码:
x=0:0.2:12;
plot(x,sin(x),'-',x,1.5*cos(x),':',x,2*sin(x),'*',x,cos(x),'.')
legend('First','Second','third','forth');
[解决办法]
正要说去fileexchange找gridLegend

读书人网 >其他开发语言

热点推荐