%author:likan
%establish_time:2013_8_16
%modify_time:2010_8_16
% function:Adams做图结果分析
clc;
clear all;
close all;
a=importdata('txyz2.txt');%ADAMS分析结果导入
Time=a(:,1)-10;
Data1=a(:,2);
Data2=a(:,3)-90;
Data3=a(:,4)-90;
figure(1);
plot(Time,Data1,'b.');
hold on;
plot(Time,Data2,'r+');
hold on;
plot(Time,Data3,'g-');
hold on;
axis([0,10,-20,20]);
text(0,19,'欧拉角');
title('\fontsize{16}上平台欧拉角');
xlabel('\fontsize{16}time/s');
ylabel('\fontsize{16}gngle/°');