Closed
Description
When using image(C)
to display the data in array C as an image, the default colors aren't matching.
C = [0 2 4 6; 8 10 12 14; 16 18 20 22];
image(C)
fig2plotly(gcf, 'offline', false);
The previous code prints the following message:
Unrecognized field name "DisplayName".
We had trouble parsing the image object.
This trace might not render properly.
Expected and generated (https://chart-studio.plotly.com/~xarico10/849/#/) plots:
Examples on using image(C)
can be found on:
https://www.mathworks.com/help/matlab/ref/image.html#buqlsdw-2