#!/usr/local/bin/gnuplot -persist # set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "boxes3d_4" jsdir "." # set output 'boxes3d.4.js' set boxwidth 0.4 absolute set style fill transparent solid 0.70 border set grid nopolar set grid xtics nomxtics ytics nomytics ztics nomztics nortics nomrtics \ nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics set grid vertical layerdefault lt 0 linecolor 0 linewidth 1.000, lt 0 linecolor 0 linewidth 1.000 unset key set view 59, 24, 1, 1 set style data lines set xyplane at 0 set title "transparent boxes with imperfect depth sorting" set xrange [ * : * ] noreverse writeback set x2range [ * : * ] noreverse writeback set yrange [ 0.00000 : 6.00000 ] noreverse nowriteback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set pm3d depthorder set pm3d interpolate 1,1 flush begin noftriangles border linewidth 1.000 dashtype solid corners2color mean set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault rgbfudge(x) = x*51*32768 + (11-x)*51*128 + int(abs(5.5-x)*510/9.) ti(col) = sprintf("%d",col) ## Last datafile plotted: "candlesticks.dat" splot for [col=1:5] 'candlesticks.dat' using 1:(col):(col*column(col)):(rgbfudge($1)) with boxes fc rgb variable