plotbelt.m

来自「a program that generates a pulse-width m」· M 代码 · 共 22 行

M
22
字号
% Script file to plot data from the belt axis simulation

load('working\gluedata.txt');
system_dependent(14,'on');  % Try to avoid conflicts with word processors
subplot(2,2,1);
plot(gluedata(:,1),gluedata(:,2),'k');
ylabel('Position #1');

subplot(2,2,2);
plot(gluedata(:,1),gluedata(:,4),'k');
ylabel('Position #2');

subplot(2,2,3);
plot(gluedata(:,1),gluedata(:,3),'k');
ylabel('Velocity #1');
xlabel ('Time, sec');

subplot(2,2,4);
plot(gluedata(:,1),gluedata(:,5),'k');
ylabel('Velocity #2');
xlabel ('Time, sec');

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?