Closed
Description
When using pcolor()
and trying to use defined non-regular grids, an empty figure is printed.
[X,Y] = meshgrid(-3:6/17:3);
XX = 2*X.*Y;
YY = X.^2 - Y.^2;
colorscale = [1:18; 18:-1:1];
C = repmat(colorscale,9,1);
pcolor(XX,YY,C);
fig2plotly(gcf, 'offline', false);
Expected and generated (https://chart-studio.plotly.com/~xarico10/797/#/) plots:
Examples on using pcolor()
can be found on:
https://www.mathworks.com/help/matlab/ref/pcolor.html#responsive_offcanvas
Metadata
Metadata
Assignees
Labels
No labels