📄 plot_result.m
字号:
%---------use for plot the file -------------------
fid = fopen('uvw.out');
a = fscanf(fid,'%g %g %g',[4 inf]);
hold on
%----------this can be send out a excellent picture--------
% plot(-a(1,:),a(4,:),'');
% plot(a(2,:),a(4,:),'-');
% plot(a(3,:),a(4,:),'-.');
plot(-a(1,:),100*a(4,:),'-.bs');
plot(a(2,:),100*a(4,:),'-co');
%plot(a(3,:),a(4,:),'-rp','MarkerSize',10);
plot(-a(3,:),100*a(4,:),'-rp');
h = legend(' u displacement',' v displacement',' w displacement',4);
xlabel('u,v,w [mm]');
ylabel('load [g]');
title('comparison between analysis [ / ]3');
fclose(fid);
%%%axis([0 16 -16 0])
% hold on
% subplot(2,2,1)
% plot( xint,xx);
% subplot(2,2,2)
% plot( xint,sldout(8,:))
% subplot(2,2,3)
% plot( xint,sldout(9,:))
%break;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -