📄 easyplot.m
字号:
% 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -