So I have a 2 dimensional array I want to plot as a 3d surface in plotlyjs, the problem is that is not working on plotlyjs even though it works ok on plotly.
Here is an example:
using Plots
plotly()
A=reshape(repeat(sin.(collect(0:0.1:6)),6),61,6)
plot(A,linetype=:surface)
produces a pretty 3d surface:
While plotlyjs
using PlotlyJS
A=reshape(repeat(sin.(collect(0:0.1:6)),6),61,6)
plot(A,linetype=:surface)
produces a 6 simple lines that are overlapped:
How should I format my data or call the plot function to obtain the graph I’m getting with Plots.plotly() in PlotlyJS ???