function plot_func(func_z,latexstr)
f = Figure(resolution=(1800, 1000))
ax1 = Axis3(f[1, 1], title=L"fixed y", azimuth=0.3pi)
ax2 = Axis3(f[1, 2], title=L"surface", azimuth=0.3pi)
ax3 = Axis3(f[1, 3], title=L"fixed x", azimuth=0.3pi)
ax4 = Axis(f[2, 1])
ax5 = Axis(f[2, 3])
ax6 = Axis3(f[2, 2], azimuth=0.3pi)
Label(f[0, :], latexstr, fontsize=40)
zs = [func_z(x, y) for x in xs, y in ys]
surface!(ax2, xs, ys, zs, color=:lightblue)
for y in ys2
yspan = fill(y, len)
lines!(ax1, xs, yspan, func_z.(xs, yspan), color=:black, lw=3)
lines!(ax4, xs, func_z.(xs, y), color=:black, lw=3)
lines!(ax6, xs, yspan, func_z.(xs, yspan), color=:black, lw=3)
end
for x in xs2
xspan = fill(x, len)
lines!(ax3, xspan, ys, func_z.(xspan, ys), color=:red, lw=3)
lines!(ax5, ys, func_z.(x, ys), color=:red, lw=3)
lines!(ax6, xspan, ys, func_z.(xspan, ys), color=:red, lw=3)
end
surface!(ax6, xs, ys, zs, color=:lightblue)
return f
end