Disclaimer: I am totally new to Gnuplot, so I am probably missing something obvious...
For a presentation that I have to give, I am trying to use Gnuplot for creating an interactive version of this plot.
Up to now, I have come up with the following code:
set hidden3d
set isosamples 40
set border 4095
set xrange [-1 : 5]
set yrange [-3 : 3]
set zrange [-10 : 10]
set xtics 2
set ytics 2
set ztics 2
f(x,y) = x**2 + y**2 * (1 - x)**3
splot f(x,y)
pause -1
However, at the boundary of the plot (specifically, at the boundary with respect to the z-axis) the plot gets truncated in a way that I find quite ugly; see below. What I would like is essentially that all the lines get drawn as if my plot range would be (e.g.) -50 : 50, but then in the end only the "intersection" of the plot with the box [-1:5] x [-3:3] x [-10:10] should actually be shown. What seems to be happening right now is that any "plot segment" that has at least one point outside the box determined by xrange-zrange gets not drawn at all.
(How) can I change this?

