しあわせさがせ?

たらたら日記帳

pm3d on gnuplot

ちょっとメモ.後で消す
history relinking なgnuplotのpm3dマップに,
擬似的に3次元にした2次元曲線を重ねるやりかた.

gnuplot> set xrange[-300:300]
gnuplot> set yrange[-300:300]
gnuplot> set dgrid3d 100,100
gnuplot> splot "/home/nakarx/gauss-space/world-data/world-c2-2-10000" u 1:2:3 with line
gnuplot> set term table
Terminal type set to 'table'
gnuplot> set output "table.dat"
gnuplot> replot

gnuplot> set pm3d explicit map
gnuplot> unset key
gnuplot> splot "table.dat" with pm3d, "master/master-c2-2-10000-link0-rep1" u 8:9:10 with points
gnuplot> splot "table.dat" with pm3d, "master/master-c2-2-10000-link0-rep1" u 19:20:10 with points

3フィールド目が0.1以下なら、0.1に無理矢理修正してぷろっと

splot "<awk '{print $1,$2,($3<0.1) ? 0.1 : $3}' world-data/world-c2-2-10000" u 1:2:3 with line