Skip to content

Plotting hypergraph from example leads to error #59

@jonesmo

Description

@jonesmo

Describe the bug
I'm following along on the Introduction to HAT example on my local machine using mouse neuron data from Prof. Rajapakse's class. When I run either HAT.plotIncidenceMatrix() or HG1.plot(), I receive the following error:

Unrecognized property 'XLimitMethod' for class 'matlab.graphics.chart.HeatmapChart'.

Error in [HAT.plotIncidenceMatrix](matlab:matlab.lang.internal.introspective.errorDocCallback('HAT.plotIncidenceMatrix', '/Applications/Hypergraph-Analysis-Toolbox/Matlab/+HAT/plotIncidenceMatrix.m', 29)) ([line 29](matlab: opentoline('/Applications/Hypergraph-Analysis-Toolbox/Matlab/+HAT/plotIncidenceMatrix.m',29,0)))
    ax.XLimitMethod = 'padded';

To Reproduce
Steps to reproduce the behavior:

  1. Create hypergraph object from incidence matrix via HG3 = Hypergraph('IM', IM)
  2. Run HAT.plotIncidenceMatrix(HG3, '*', {'r', 'b', 'g'}); or HG3.plot();
  3. See error

Expected behavior
I expected a hyperedges-vs-matrices plot to appera.

Screenshots
Image

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions