Skip to content

histogram2() not supported #193

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
xarico10 opened this issue Jul 26, 2021 · 1 comment
Closed

histogram2() not supported #193

xarico10 opened this issue Jul 26, 2021 · 1 comment
Assignees

Comments

@xarico10
Copy link
Contributor

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

@gilbertogalvis gilbertogalvis self-assigned this Jul 26, 2021
gilbertogalvis pushed a commit that referenced this issue Jul 28, 2021
gilbertogalvis pushed a commit that referenced this issue Jul 28, 2021
@VolKa79
Copy link

VolKa79 commented Jul 28, 2021

Confirming it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants