Closed
Description
When using image(x,y,C)
to specify the image location, such location isn't working and a warning message is printed.
x = [5 8];
y = [3 6];
C = [0 2 4 6; 8 10 12 14; 16 18 20 22];
image(x,y,C)
fig2plotly(gcf, 'offline', false);
The previous code prints the following warning 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/851/#/) plots:
Notice that the pixel corresponding to C(1,1) is centered over the point (5,3). The pixel corresponding to C(3,4) is centered over the point (8,6).
Examples on using image(x,y,C)
can be found on:
https://www.mathworks.com/help/matlab/ref/image.html#bur_mqu-1