Skip to content

Adding Image to Axes in 3-D View not working properly #284

Closed
@xarico10

Description

@xarico10

When using image() on an existent chart to add an image to it, it's being plotted as a completely new chart, with it's own grid and not integrating to the existent one.

Z = 10 + peaks;
surf(Z)
hold on 
image(Z,'CDataMapping','scaled')

fig2plotly(gcf, 'offline', false);

Expected and generated (https://chart-studio.plotly.com/~xarico10/910/#/) plots:
Captura de Pantalla 2021-08-03 a la(s) 4 59 54 p  m
Captura de Pantalla 2021-08-03 a la(s) 5 00 12 p  m

Examples on doing this can be found on:
https://www.mathworks.com/help/matlab/ref/image.html#buryl46-1

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions