Skip to content

histogram2() not supported #193

Closed
Closed
@xarico10

Description

@xarico10

When using histogram2() to print 3-D histograms, an error is being printed.

For example,

rng(1)
x = randn(100,1);
y = randn(100,1);
histogram2(x,y)

fig2plotly();
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)
                response = plotly(obj.data,
                args);

Error in fig2plotly (line 49)
p.plotly;

Error in untitled3 (line 8)
fig2plotly();

Expected plot:
Captura de Pantalla 2021-07-26 a la(s) 1 11 56 p  m

Examples on using histogram2() can be found on:
https://www.mathworks.com/help/matlab/ref/matlab.graphics.chart.primitive.histogram2.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