3D surface with axis guides

Source code Author Update time

using Plots
gaston()
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")
Gnuplot Produced by GNUPLOT 5.4 patchlevel 2 0.5 1.0 1.5 2.0 0.5 1.0 1.5 2.0 2 4 6 8 10 gnuplot_plot_1a longer xlabel longer ylabel longer zlabel 1 2 3 4 5 6 7 8 9 10 11

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