settermsvgsize800,600enhancedfont'Times, 18'setoutput'partial_func_eg.svg'setmultiplotsetxlabel"x"setylabel"y"setzlabel"z"setxrange[-2.5:2.5]setyrange[-2.5:2.5]setzrange[-1.0:10.0]unsetcolorboxsetview50,20setstylefillsolid0.6setborderlw0.5unsetkeysetxlabelfont'Times, 48'setylabelfont'Times, 48'setzlabelfont'Times, 48'sethidden3dfrontsetticslevel0setisosamples20,200# Draw the surfaces of f(x,y) = x^2 + xy + y^2 and y=1.setpalettedefined(0"navy",10"cyan")splotx*x+x*y+y*ywpm3d,\
y<0.99?-2:(y>1.04?10.01:(y<1?-1:10))wlineslt8lw2# Draw the grids and intersection curve.setisosamples40,40splotx*x+x*y+y*ywlineslt8lw0.1splot0.95<y&&y<1.05?x*x+x+1:-2wlineslt7lw2unsetmultiplotsettermwindowssetoutput
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
𐌳𐌿 𐌳𐌰𐌹𐌻𐌾𐌰𐌽 – to copy, distribute and transmit the work
𐌳𐌿 𐌱𐌻𐌰𐌽𐌳𐌰𐌽 – to adapt the work
Under the following conditions:
attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.