close all;
clear all;
clc;
%**注:直接运行将本文件与导出数据放置在同一文件夹运行,可得设置好的.fig文件
%**选择编辑-幅值图窗即可图片复制到word/visio等文件中处理
m=load('1.mat');
a=m.DataExport.line_1.x;
b=m.DataExport.line_1.y;
figure(1)
plot (a,b,'Linewidth', 1.5,'MarkerFaceColor','r');%Times New Roman Helvetica
% text(16.5,250,'15.223','FontSize',14,'Fontname', '宋体','rotation',90)
% text(32,295,'检测器A 250nm','FontSize',14,'Fontname', '宋体')%Times New Roman
xlabel('epoch');
ylabel('mAP');
title('Eval mAP');
legend('mAP');
set(gca,'FontSize',12,'Fontname', 'Helvetica');%字体字号大小设置
set(gcf,'unit','normalized','position',[0.1,0.1,0.4,0.5]);%图窗位置大小设置
axis([0,155,0.69,0.925]);%坐标范围大小设置
set(gca,'XTick',0:20:155);
m=load('2.mat');
a=m.DataExport.line_1.x;
b=m.DataExport.line_1.y;
figure(2)
plot (a,b,'Linewidth', 1.5,'MarkerFaceColor','r');%Times New Roman Helvetica
% text(16.5,250,'15.223','FontSize',14,'Fontname', '宋体','rotation',90)
% text(32,295,'检测器A 250nm','FontSize',14,'Fontname', '宋体')%Times New Roman
xlabel('epoch');
ylabel('mAP');
title('Eval mAP');
legend('mAP');
set(gca,'FontSize',12,'Fontname', 'Helvetica');%字体字号大小设置
set(gcf,'unit','normalized','position',[0.1,0.1,0.4,0.5]);%图窗位置大小设置
axis([0,155,0.69,0.925]);%坐标范围大小设置
set(gca,'XTick',0:20:155);
m=load('3.mat');
a=m.DataExport.line_1.x;
b=m.DataExport.line_1.y;
figure(3)
plot (a,b,'Linewidth', 1.5,'MarkerFaceColor','r');%Times New Roman Helvetica
% text(16.5,250,'15.223','FontSize',14,'Fontname', '宋体','rotation',90)
% text(32,295,'检测器A 250nm','FontSize',14,'Fontname', '宋体')%Times New Roman
xlabel('epoch');
ylabel('mAP');
title('Eval mAP');
legend('mAP');
set(gca,'FontSize',12,'Fontname', 'Helvetica');%字体字号大小设置
set(gcf,'unit','normalized','position',[0.1,0.1,0.4,0.5]);%图窗位置大小设置
axis([0,155,0.69,0.925]);%坐标范围大小设置
set(gca,'XTick',0:20:155);