首页 > 代码库 > 20140513

20140513

1、matlab画图

x1=[1.00E-06,2.00E-06,4.00E-06,9.00E-06,2.00E-05,4.00E-05,8.00E-05,2.00E-04,4.00E-04,7.00E-04,    2.00E-03,4.00E-03];
y1=[0.0735,0.073,0.068,0.0625,0.0583,0.0535,0.0472,0.041,0.034,0.026,0.019,0.01];
x2=[1.00E-06,2.10E-06,4.10E-06,9.90E-06,1.90E-05,4.00E-05,8.00E-05,2.00E-04,4.00E-04,7.00E-04,2.00E-03,4.00E-03,5.50E-03,1.00E-02,3.00E-02,5.00E-02];
y2=[0.21,0.19,0.18,0.16,0.15,0.14,0.13,0.12,0.11,0.09,0.07,0.064,0.045,0.035,0.022,0.01];
x3=[1.00E-06,2.10E-06,4.10E-06,9.90E-06,1.90E-05,4.00E-05,8.00E-05,2.00E-04,4.00E-04,7.00E-04,2.00E-03,4.00E-03,7E-03,2.00E-02];
y3=[0.17,0.16,0.15,0.14,0.13,0.12,0.11,0.09,0.07,0.064,0.045,0.035,0.022,0.01];

loglog(x1,y1,r*-,LineWidth,2);
hold on;
loglog(x2,y2,s-,LineWidth,2);
hold on;
loglog(x3,y3,co-,LineWidth,2);
axis([ 1e-6 1e-1 0.01 0.5])
title(Detection Error Tradeoff)
xlabel(False Positive Per Window (FPPW));
ylabel(miss rate);

%set(gca,YTickMode,manual,YTick,[-16384,0,16384]);
%set(gca,XTickMode,manual,XTick,[-21846,-10922,0,10922,21846]);
%grid;

grid on;

2、批量更新域CTRL+A  ,按F9