Closed
Description
When using the input argument C
to specify a color map for a surface plot, the color isn't being changed.
[X,Y] = meshgrid(1:0.5:10,1:20);
Z = sin(X) + cos(Y);
C = X.*Y;
surf(X,Y,Z,C)
fig2plotly(gcf, 'offline', false);
Expected and generated (https://chart-studio.plotly.com/~xarico10/753/#/) plots:
Examples on using C
input argument can be found on:
https://www.mathworks.com/help/matlab/ref/surf.html#bvgs7ws-1