- 积分
- 0
- 注册时间
- 2010-10-14
- 仿真币
-
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2011-4-20 08:23:54
|
显示全部楼层
来自 江苏镇江
换个图形吧,效果也一样。。 function createaxes(Parent1, XData1, YData1, XData2, YData2) %CREATEAXES(PARENT1,XDATA1,YDATA1,XDATA2,YDATA2) % PARENT1: axes parent % XDATA1: line xdata % YDATA1: line ydata % XDATA2: line xdata % YDATA2: line ydata % Auto-generated by MATLAB on 20-Apr-2011 08:42:21 % Create axes axes1 = axes('Parent',Parent1,'Position',[0.2534 0.3342 0.1661 0.4154]); % Uncomment the following line to preserve the X-limits of the axes % xlim([0 2]); % Uncomment the following line to preserve the Y-limits of the axes % ylim([0 1.4]); % Create xlabel xlabel({'时间t/s'}); % Create ylabel ylabel({'角度θ_p/°'}); % Create line line(XData1,YData1,'Parent',axes1,'Visible','off','Color',[0 0 1]); % Create hggroup hggroup1 = hggroup('Parent',axes1,'DisplayName','G4'); % Create line line(XData2,YData2,'Parent',hggroup1,'Color',[0 0 1]); |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|