3d Plots with PlotlyJS

I can produce beautiful 3d plots with Plots.jl.

For example,

using Plots
x1 = 1:.001:2pi
y1 = cos.(1:.001:2pi)
z1 = sin.(1:.001:2pi)

x2 = 1:.001:2pi
y2 = 2*sin.(1:.001:2pi)
z2 = cos.(1:.001:2pi)


x3 = 1:.001:2pi
y3 = exp.(1:.001:2pi)
z3 = sin.(1:.001:2pi)

plot(x1,y1,z1)
plot!(x2,y2,z2)
plot!(x3,y3,z3)

However, I want the ability to interact with the resulting plots (rotate, zoom, etc.). How do I reproduce the results I get from the code above to get interactive plots using PlotyJS?

If you think I should use another plot package instead, I am all ears.

Thanks,

DS

http://juliaplots.org/PlotlyJS.jl/stable/examples/3d/

1 Like

you could also use the plotlyjs backend via

plotlyjs()
1 Like