Markus Küster - 2018-08-14

Hello,
i want to create an efficiency map. The data and the view of the plot is looking very good.
What i would like to do is adding a line for limitating the efficiency map. The code is below:
set view map
set dgrid3d 10,10 qnorm 2
set pm3d interpolate 20,20
f(x)= -x*150+160
splot "in.dat" u 1: (f($1)>$2 ? $2: 1/0): 3 with pm3d

The result is always a heatmap with rectangular shape. What i expected is a map with a heatmap that is cut off by a line. It should at least have five corners.
The code is similar to: https://stackoverflow.com/questions/35851046/set-definition-area-for-output-of-splot?rq=1
But at the moment it is not working. Has anybody an advice for me ?

Best Regards
Markus