2d plot in 3d scene

Please check this:

using Plots; plotlyjs()

n = 100
x = y = z = range(0,10,n)

xx, yy, zz = x .* zeros(n)',  y .* ones(n)', z .* ones(n)'
surface(xx, yy', zz, fill_z = (yy').^2 + zz.^2)

xx, yy, zz = x .* ones(n)',  y .* zeros(n)', z .* ones(n)'
surface!(xx',yy, zz, fill_z = (xx').^2 + zz.^2, yflip=true)

xx, yy, zz = x .* ones(n)',  y .* ones(n)', z .* zeros(n)'
surface!(xx', yy, zz', fill_z = (xx').^2 + yy.^2, size=(800,800))

Animating such displays we can produce in Plots.jl:
Plots_plotlyjs_wave

5 Likes