# generic commands for twographbox output size load "twograph3D.in" set xlabel "{/Times-Italic w}_0" set ylabel "{/Times-Italic w}_1" set zlabel "Loss " #set key 24,0.15 #set nokey #set noxzeroaxis #### Too bad the following didn't work. #set contour base #set dgrid3d 20, 20, 2 ##%% [[gnuplot: set contour base; set contour surface http://gnuplot.sourceforge.net/demo_4.3/contours.html ###################################################################### #set xtics -1000,1000,2000 #set ytics -1, .5, 1 #set ztics 1000,1000,3000 unset xtics unset ytics unset ztics set output "convex.eps" ## Plot from data points not as good as iso plot #set view 85, 250 #set view 85, 105, 1.2 #splot 'convex.data' ps 0.4 notitle f(x,y) = (x + y*308 - 890)**2 + (x + y*315 - 824)**2 + (x + y*325 - 680)**2 + (x + y*375 - 877)**2 + (x + y*375 - 877)**2 + (x + y*376 - 720)**2 + (x + y*389 - 1145)**2 + (x + y*399 - 960)**2 + (x + y*399 - 1229)**2 + (x + y*400 - 825)**2 + (x + y*409 - 1067)**2 + (x + y*425 - 1035)**2 + (x + y*432 - 900)**2 + (x + y*441 - 1103)**2 + (x + y*469 - 1187)**2 + (x + y*479 - 1049)**2 + (x + y*498 - 1002)**2 + (x + y*499 - 1248)**2 + (x + y*527 - 1704)**2 + (x + y*549 - 1067)**2 + (x + y*549 - 1295)**2 + (x + y*550 - 1703)**2 + (x + y*560 - 1511)**2 + (x + y*563 - 1186)**2 + (x + y*569 - 1487)**2 + (x + y*569 - 1487)**2 + (x + y*575 - 1822)**2 + (x + y*589 - 1174)**2 + (x + y*595 - 1120)**2 + (x + y*595 - 1286)**2 + (x + y*599 - 1293)**2 + (x + y*599 - 1475)**2 + (x + y*600 - 1571)**2 + (x + y*600 - 924)**2 + (x + y*625 - 1013)**2 + (x + y*630 - 1859)**2 + (x + y*647 - 1375)**2 + (x + y*660 - 1220)**2 + (x + y*695 - 1750)**2 + (x + y*699 - 1566)**2 + (x + y*714 - 1637)**2 + (x + y*715 - 1781)**2 + (x + y*725 - 2020)**2 + (x + y*749 - 2331)**2 + (x + y*800 - 1914)**2 + (x + y*849 - 3164)**2 + (x + y*875 - 1723)**2 + (x + y*875 - 1850)**2 + (x + y*880 - 1674)**2 + (x + y*935 - 3473)**2 set isosample 15, 25 set border 31 lw 2 set view 70,105, 1.2 set hidden3d offset 0 splot [-1000:2500] [-5:5] f(x,y)**0.5 notitle