From: youban <you...@gm...> - 2007-08-23 13:15:39
|
hi: i have a script like this below, it looks very easy to splot a test.datfile, but if there are more than 3 numbers, such as 700 numbers, it will be a very huge work, do you have some ideas how to do this? thank you set term postscript enhanced color set output "test.ps" set pm3d; set palette set palette color set pm3d corners2color c1 map set cbrange [-0.1:0.1] set xrange [1:700] set yrange [1:700] set zrange [-1:1] set samples 101 set isosamples 10 set xtics 100 set mxtics 2 set ytics 100 set mytics 2 set ztics 100 set palette defined (-0.1 "blue", -0.01 "green", 0 "white", 0.05 "yellow", 0.1 "red") set xlabel "residue number" set ylabel "residue number" show xlabel show ylabel set nokey set size square splot "test.dat" pause -1 "Hit return to continue" test.dat 1 1 0.0 1 2 0.1 1 3 0.0 2 1 xxx 2 2 xxx 2 3 xxx 3 1 xxx 3 2 xxx 3 3 xxx |