[Matlab common operations]

1 How does matlab draw two function graphs at the same time, using figure to separate

%% 绘制电压电流

data1=xlsread('D:\desktop\PIN_10um参数版\PIN_10um绘图版\Plot.dat',1,'A1:E18462');
T1=data1(:,1);%某一行,某一列
V1=data1(:,2);
I1=data1(:,4);
plot(T1,V1);
figure
plot(T1,I1);

2 How to put two pictures in the same picture, use hold on
https://www.ilovematlab.cn/thread-23259-1-1.html

3 How to plot axis units

plot(Length5,phi5);
xlabel('{长度(um)}');
ylabel('{电压(V)}');

Summary:
https://zhuanlan.zhihu.com/p/133451130

Guess you like

Origin blog.csdn.net/weixin_42000717/article/details/125457367