I’m having problem rendering plots in PlotlyJS
as follows
p1 = plot(tr[:,1],tr[:,2],tr[:,3])
p2 = plot(tr[:,2], tr[:,3],tr[:,4])
p = [p1; p2]
This code yields the following result
I’m having problem rendering plots in PlotlyJS
as follows
p1 = plot(tr[:,1],tr[:,2],tr[:,3])
p2 = plot(tr[:,2], tr[:,3],tr[:,4])
p = [p1; p2]
This code yields the following result
Look at PlotlyJS.jl
’s 3D line plot examples here.
using PlotlyJS
tr = [rand(10) rand(10) rand(10) rand(10)]
p1 = plot(scatter(x = tr[:,1], y = tr[:,2], z = tr[:,3],
marker=attr(size=4, color= :red), type="scatter3d", mode=mode="lines+markers")
);
p2 = plot(scatter(x = tr[:,2], y = tr[:,3], z = tr[:,4],
marker=attr(size=4, color= :blue), type="scatter3d", mode=mode="lines+markers")
);
p = [p1; p2]