Skip to content

scatterhistogram() not supported #201

Closed
@xarico10

Description

@xarico10

When using scatterhistogram() to create a scatter plot with marginal histograms an error is being printed.

load patients
s = scatterhistogram(Age,Height);
xlabel('Age')
ylabel('Height')

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)
            args.layout =
            obj.layout;

Error in fig2plotly (line 49)
p.plotly;

Error in untitled6 (line 17)
fig2plotly();

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

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

Metadata

Metadata

Assignees

No one assigned

    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