easyplot.m
来自「这是《Numerical Methods with MATLAB: Imple」· M 代码 · 共 11 行
M
11 行
% easyplot: Script to plot data in file xy.dat
% Load the data
D = load('xy.dat'); % D is matrix with two columns
x = D(:,1); y = D(:,2); % x in 1st column, y in 2nd column
plot(x,y) % Generate the plot and label it
xlabel('x axis, unknown units')
ylabel('y axis, unknown units')
title('plot of generic x-y data set')
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?