Closed
Description
When using surfc()
to create a three-dimensional surface plot with a contour plot underneath, the contour plot isn't correctly plotted (it should be underneath the 3-D surface on its same grid, not all over the place with independent grid and axes).
[X,Y] = meshgrid(1:0.5:10,1:20);
Z = sin(X) + cos(Y);
surfc(X,Y,Z)
fig2plotly(gcf, 'offline', false);
Expected and generated (https://chart-studio.plotly.com/~xarico10/755/#/) plots:
Examples on using surfc()
can be found on:
https://www.mathworks.com/help/matlab/ref/surfc.html
Metadata
Metadata
Assignees
Labels
No labels