I use the cairolatex terminal to generate plots with gnuplot for my latex documents. When I generate 3D plots with help of the command splot, the PDF generated by cairolatex exhibits fine structed grid lines which cause Moiré effects in the final document. This grid is not present when using the wxt terminal.
Here is my minimal example:
# set terminal wxt 1 size 700,700
set terminal cairolatex pdf size 7cm,7cm
set output 'test.tex'
set samples 100
set isosamples 100
set pm3d
set palette
f(x,y) = sin(sqrt(x**2+y**2)) / sqrt(x**2+y**2)
splot f(x,y) with pm3d
This is the output: The arrow marks the fine lines I want to avoid.
The fine grid also occurs when using pngcairo. I already tried several cairolatex options I found on this website with no success, e.g. using linewidth 0. I further tried to suppress the grid with help of the command
set style fill noborder
without success.
Does anyone know how to get rid of the fine structured grid?
I run gnuplot 5 with patchlevel 1 (64-bit version) on a Windows 7 machine.