Skip to content

MATLAB 2016b legend error #108

Closed
Closed
@shaharz

Description

@shaharz
>> plot(rand(3))
>> l = legend('Line 1','Line 2','Line 3');
>> title(l,'My Legend')
>> plotly_fig = fig2plotly(gcf, 'offline', true, 'filename', 'test');
Insufficient number of outputs from right hand side of equal sign to satisfy assignment.

Error in findLegendAxis (line 3)
legendAxis = obj.State.Axis(legendAxisIndex).Handle;

Error in plotlyfig/update (line 529)
                legendAxis = findLegendAxis(obj, handle(legs(g)));

Error in plotlyfig (line 203)
                obj.update;

Error in fig2plotly (line 44)
p = plotlyfig(varargin{:});

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