hi, i plotted 'contourf ' command in my electric feild computation and the plot came, but when i try to insert colour bar to see the values .

??? Attempt to call constructor text with incorrect letter case.
Error in ==> scribe.colorbar.methods>startlisteners at 368 h.DeleteProxy = handle(text('parent',hax,...
Error in ==> scribe.colorbar.methods at 19 feval(args{:});
Error in ==> scribe.colorbar.init at 53 h.methods('startlisteners'); % installs peer axis listeners
Error in ==> scribe.colorbar.colorbar at 98 h.init();
Error in ==> colorbar>make_colorbar at 226 ch=scribe.colorbar(peeraxes,location,position,pvpairs{:});
Error in ==> colorbar at 190 [c,msg] = make_colorbar(peeraxes,location,position,pvpairs);
Error in ==> insertmenufcn at 82 colorbar('peer',cax);
??? Error while evaluating uitoggletool ClickedCallback

Answers (1)

You have a .m function in your path that is overriding one of the built-in MATLAB routines. Most likely you have a text.m routine. You need to rename that or remove it from the path.

Categories

Asked:

on 1 Feb 2013

Community Treasure Hunt

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

Start Hunting!