You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When exporting a scatter3 plot from MATLAB to Plotly using the fig2plotly function, the plot is rendered as a 2D plot in the browser, rather than the expected 3D plot. The issue does not occur for surf or mesh plots, which are correctly displayed as 3D.
Steps to Reproduce:
I simply followed demo code
[X,Y,Z] = sphere(16);
x = [0.5*X(:); 0.75*X(:); X(:)];
y = [0.5*Y(:); 0.75*Y(:); Y(:)];
z = [0.5*Z(:); 0.75*Z(:); Z(:)];
scatter3(x,y,z)
fig2plotly(gcf);
Expected Result:
The scatter3 plot should be displayed in 3D in the browser.
MATLAB Plot (scatter3):
Actual Result:
The scatter3 plot is rendered as a 2D plot in the browser.
Plotly Output in Browser (Generated from HTML):
Environment:
MATLAB version: 2023a
Plotly MATLAB version: 3.0.0
Operating system: Windows 11
The text was updated successfully, but these errors were encountered:
Problem:
When exporting a
scatter3
plot from MATLAB to Plotly using thefig2plotly
function, the plot is rendered as a 2D plot in the browser, rather than the expected 3D plot. The issue does not occur forsurf
ormesh
plots, which are correctly displayed as 3D.Steps to Reproduce:
I simply followed demo code
Expected Result:
The
scatter3
plot should be displayed in 3D in the browser.Actual Result:
The
scatter3
plot is rendered as a 2D plot in the browser.Environment:
The text was updated successfully, but these errors were encountered: