Closed
Description
When using surfl()
to creates a three-dimensional surface plot with highlights from a light source, such light effect isn't working.
[X,Y] = meshgrid(1:0.5:10,1:20);
Z = sin(X) + cos(Y);
sl = surfl(X,Y,Z,'light');
fig2plotly(gcf, 'offline', false);
Expected and generated (https://chart-studio.plotly.com/~xarico10/761/#/) plots:
Examples on using surfl()
can be found on:
https://www.mathworks.com/help/matlab/ref/surfl.html
Metadata
Metadata
Assignees
Labels
No labels