3D surface with axis guides

Source code Author Update time

using Plots
pythonplot()
xs = collect(0.1:0.05:2.0)
ys = collect(0.2:0.1:2.0)
X = [x for x = xs for _ = ys]
Y = [y for _ = xs for y = ys]
Z = ((x, y)->begin
            1 / x + y * x ^ 2
        end)
surface(X, Y, Z.(X, Y), xlabel = "longer xlabel", ylabel = "longer ylabel", zlabel = "longer zlabel")
2023-01-27T18:05:16.392268 image/svg+xml Matplotlib v3.6.3, https://matplotlib.org/

This page was generated using DemoCards.jl and Literate.jl.