#!/usr/local/bin/gnuplot -persist # set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "polygons_5" jsdir "." # set output 'polygons.5.js' unset border set style fill transparent solid 0.75 border unset key set style line 101 linecolor rgb "forest-green" linewidth 1.000 dashtype solid pointtype 101 pointsize default set style line 102 linecolor rgb "goldenrod" linewidth 1.000 dashtype solid pointtype 102 pointsize default set view 36, 60, 4.2, 1 set view equal xyz set style data lines unset xtics unset ytics unset ztics unset cbtics unset rtics set title "splot truncated_cube with polygons" set title font "" textcolor lt -1 norotate noenhanced set xrange [ -2.00000 : 2.00000 ] noreverse nowriteback set x2range [ * : * ] noreverse writeback set yrange [ -2.00000 : 2.00000 ] noreverse nowriteback set y2range [ * : * ] noreverse writeback set zrange [ -2.00000 : 2.00000 ] noreverse nowriteback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set pm3d depthorder set pm3d interpolate 1,1 flush begin noftriangles border lt black linewidth 2.000 dashtype solid corners2color mean set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault phi = 1.61803398874989 n = 21 ## Last datafile plotted: "truncated_cube.dat" splot 'truncated_cube.dat' using ($1-0.5):($2-0.5):($3-0.5) with polygons fc bgnd