gchanteloube - 2013-12-13

I try to build isoline from data file. This file has 360 000 lines. My source code is :


set term png transparent size 7200,3610 font "DejaVuSerif-Bold" 8
set output './01.png'
set dgrid3d 361,720,1
set isosamples 361,720
unset surf
set table './processing/isoline/PRMSLmeansealevelTable'
splot './processing/isoline/PRMSLmeansealevel'
unset table
set contour base
set cntrparam order 8
set cntrparam bspline
set cntrparam levels incremental 95000, 100, 150000
unset surf
set table './processing/isoline/PRMSLmeansealevelTable2'
splot './processing/isoline/PRMSLmeansealevel'
unset table
reset
unset key
set xrange [0:360]
set yrange [-90:90]
set contour base
set cntrparam bspline
unset xtics
unset ytics
unset ztics
unset surf
l '<./processing/config/./cont.sh ./processing/isoline/PRMSLmeansealevelTable2 0 10 0
p './processing/isoline/PRMSLmeansealevelTable' w ima, '<./processing/config/./cont.sh ./processing/isoline/PRMSLmeansealevelTable2 2 0 0' w l lt 8 lw 1


My main problem is that splot commands is very slow. Maybe I done a mistake? The const.sh file is just here to put values on each line. My data file is like that :


0.000000 -90.000000 100026
0.500000 -90.000000 100026
1.000000 -90.000000 100026
1.500000 -90.000000 100026
2.000000 -90.000000 100026
2.500000 -90.000000 100026
3.000000 -90.000000 100026
...


Thank you very much.
G.