Run 1 ----- error: 'h' undefined near line 554, column 554 error: called from subsref at line 53 column 9 size at line 57 column 5 >> error: get: H must be a graphics handle Run 2 ----- error: 'pos' undefined near line 560, column 560 error: called from size at line 57 column 5 >> error: scalar cannot be indexed with . error: called from legend>maybe_update_layout_cb at line 58 column 5 size at line 57 column 5 Run 3 ----- error: setappdata: H must be a scalar or vector of graphic handles error: called from setappdata at line 52 column 5 legend>@ at line 316 column 29 size at line 58 column 5 >> error: 'dim' undefined near line 60, column 60 error: called from legend>update_layout_cb at line 893 column 12 legend>@ at line 316 column 29 size at line 58 column 5 Run 4 ----- >> error: print_usage: 'maybe_update_layout_cb' not found Run 5 ----- error: 'h' undefined near line 554, column 554 error: called from legend>maybe_update_layout_cb at line 548 column 3 >> error: @tf/size: invalid return value error: called from legend>maybe_update_layout_cb at line 548 column 3