Skip to content

heatmap() not supported #204

Closed
Closed
@xarico10

Description

@xarico10

When using heatmap() to create a heat map, an error is being printed.

cdata = [45 60 32; 43 54 76; 32 94 68; 23 95 58];
heatmap(cdata);

fig2plotly();

The previous code prints the following error:

Error using response_handler (line
31)
Expecting (x, y) pairs

Error in makecall (line 32)
    response_handler(resp);

Error in plotly (line 28)
response = makecall(args, origin,
structargs);

Error in plotlyfig/plotly (line
437)
            args.layout =
            obj.layout;

Error in fig2plotly (line 49)
p.plotly;

Error in untitled9 (line 17)
fig2plotly();

Expected plot:
Captura de Pantalla 2021-07-27 a la(s) 2 29 08 p  m

Examples on using heatmap() can be found on:
https://www.mathworks.com/help/matlab/ref/heatmap.html#responsive_offcanvas

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