Closed
Description
When using slice()
to draw slices for the volumetric data, an incorrect background color is placed and parts of the plot are missing.
[X,Y,Z] = meshgrid(-2:.2:2);
V = X.*exp(-X.^2-Y.^2-Z.^2);
xslice = [-1.2,0.8,2];
yslice = [];
zslice = 0;
slice(X,Y,Z,V,xslice,yslice,zslice)
fig2plotly(gcf, 'offline', false);
Expected and generated (https://chart-studio.plotly.com/~xarico10/1041/#/) plot:
Also, there's not grid on Plotly's figure.
Examples on using slice()
can be found on:
https://www.mathworks.com/help/matlab/ref/slice.html#responsive_offcanvas
Metadata
Metadata
Assignees
Labels
No labels