# generic commands for twographbox output size load "twographsquare.in" set data style points #set xlabel "{/Times-Italic x}@_{/*0.8 1}^{/*0.8 2}" #set ylabel "{/Times-Italic x}@_{/*0.8 2}^{/*0.8 2}" set xrange [0:1.15] set yrange [0:1.15] set nokey set parametric set trange [0:2*pi] set pointsize 1.2 a = -0.99119854 b = 1.00002 m = 0.07211991 r = 0.03 x1 = 0.042078946 y1 = 0.85676634 x2 = 1.0531732 y2 = 0.057667088 x3 = 0.027147073 y3 = 1.0821187 set output "kernel-machine-margin1.eps" plot 'kernel-machine-3D-pos.data' using 1:2 with points pt 6, 'kernel-machine-3D-neg.data' using 1:2 with points pt 7, \ t,((a+.09)*t+b-0.05) with lines lt 1 lw 4, \ t,((a-.20)*t+b+0.075) with lines lt 1 lw 4, \ t,((a-.07)*t+b-0.08) with lines lt 1 lw 4 #t,(a*t+b-m*sqrt(2)) with lines lt 5 lw 1, t,(a*t+b+m*sqrt(2)) with lines lt 5 lw 1, \ #x1+r*cos(t),y1+r*sin(t) with lines 1, x2+r*cos(t),y2+r*sin(t) with lines 1, x3+r*cos(t),y3+r*sin(t) with lines 1 set output "kernel-machine-margin2.eps" #plot x1+r1*cos(t),y1+r1*sin(t) with lines 1, x2+r2*cos(t),y2+r2*sin(t) with lines 1, 'mixture-sample2.data' using 1:2 lw 2, x1,y1 with points pt 4, x2,y2 with points pt 4 plot 'kernel-machine-3D-pos.data' using 1:2 with points pt 6, 'kernel-machine-3D-neg.data' using 1:2 with points pt 7, t,(a*t+b) with lines lt 1 lw 4, t,(a*t+b-m*sqrt(2)) with lines lt 5 lw 1, t,(a*t+b+m*sqrt(2)) with lines lt 5 lw 1, x1+r*cos(t),y1+r*sin(t) with lines 1, x2+r*cos(t),y2+r*sin(t) with lines 1, x3+r*cos(t),y3+r*sin(t) with lines 1