Skip to content

AlphaData Name-Value Argument not working #282

Closed
@xarico10

Description

@xarico10

AlphaData Name-Value input argument to specify transparency not working.

C = [1 2 3; 4 5 6; 7 8 9];
image(C,'AlphaData',0.5);

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/855/#/) plot:
Captura de Pantalla 2021-08-03 a la(s) 2 18 07 p  m
Captura de Pantalla 2021-08-03 a la(s) 2 18 58 p  m

Examples on using AlphaData can be found on:
https://www.mathworks.com/help/matlab/ref/image.html#burx887-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