plot(x4,'r');
hold on //等待继续画图
plot(y4,'g');
hold on
plot(z,'b')
%方格
grid on
% x轴
xlabel('波段数');
% x轴
ylabel('折射率');
%图例
legend('Tank','background','camouflage')
title("光谱图")
Matlab中在一张图中画多条曲线
最新推荐文章于 2024-09-25 12:13:19 发布
plot(x4,'r');
hold on //等待继续画图
plot(y4,'g');
hold on
plot(z,'b')
%方格
grid on
% x轴
xlabel('波段数');
% x轴
ylabel('折射率');
%图例
legend('Tank','background','camouflage')
title("光谱图")