gnuplot: contour and heatmap from two different files in the same splot

Viewed 662

I am trying to plot two 2D scalar quantities, one as a heatmap and one as superimposed contour, using the following code:

set contour base
set cntrparam levels incremental 0,0.25,1.25
unset surface
set table cont2.dat
splot 'vr245.gnu'
unset table
reset
set xrange [1:215]
set yrange [0:3.1415925025940E+00]
set cbrange [7:17]
unset key
set view map
set palette rgbformulae 33,13,10
splot 'f_aveFe_245.gnu' u 1:2:3 with pm3d, "cont2.dat" u 1:2:3 w l

Result produced by gnuplot Result produced by gnuplot

As you can see the contour has artifacts on the left. How can I fix this problem? Thank you!

Input files are here.

2 Answers
Related