legend function not working with version R2013b

4 views (last 30 days)
The legend function does not work anymore with R2013b (under OS 10.8 and 10.9), see the error message below. Did anyone experience the same problem and/or find a workaround ?
clf
plot(1:4)
legend('f')
Error using set
Value cell array handle dimension must match handle vector length
Error in scribe.legend/methods>set_contextmenu (line 1164)
set(hChil,{'Tag'},intTags);
Error in scribe.legend/methods (line 17)
feval(args{:});
Error in scribe.legend/init (line 128)
methods(h,'set_contextmenu','on');
Error in scribe.legend (line 122)
h.init();
Error in legend>make_legend (line 377)
lh=scribe.legend(ha,orient,location,position,children,listen,strings,propargs{:});
Error in legend (line 280)
[h,msg] = make_legend(ha,varargin(arg:end));

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!