|
From: Gavin B. <gav...@gm...> - 2009-09-20 16:47:03
|
If I understand you correctly this is a bit of a pain, but can be done using multiplot. you usually have to set the size and ranges... heres a script I used to plot a field using pm3d and overlay some points (2D data, but splotted so the z axis is greater than the z-axis of the pm3d plot). Hope this helps. reset set xrange[10:54] set yrange[10:54] set cbrange[0:0.5] unset ztics set view 0,0 set size square set term post color set output 'out.ps' set multiplot set pm3d set palette defined (0 "white", 0.5 "red") unset surf splot 'np333_field10000.dat' u 1:2:3 unset pm3d set surf splot 'np333_particle10000.dat' u 1:2:(1) w p pt 7 ps 0.5 lt -1 unset multiplot set term x11 set output !gv out.ps |