Using the legend in a plot leads to errors in displaying them
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi all,
when displaying the legend in a plot, it looks weird (the description is crossed by the color indicator)
and in the command window I get this:
Warning: Error updating Legend. Following is the chain of causes of the error:
An error occurred while trying to determine whether "kron" is a function name.
> In defaulterrorcallback at 12
In waitbar at 113
In ExactLin.linearizeModel>LocalLinearizeModel at 224
In ExactLin.linearizeModel at 26
In ExactLin.ExactLin>@(es,ed)linearizeModel(this)
In TSSplitButton>LocalActionPerformed at 143
In hgfeval at 62
In uitools\private\javaaddlistener>cbBridge at 52
In uitools\private\javaaddlistener>@(o,e)cbBridge(o,e,response) at 47
Warning: Error updating Legend. Following is the chain of causes of the error:
An error occurred while trying to determine whether "kron" is a function name.
I've already un- and reinstalled MATLAB, am experiencing this for quite some time and couldn't find a fix on the web. It does not matter which type of plot. In the example it happend during model linearization and the subdequent plots simply are not processed.
Does somebody might know what to do?
Many thanks Chris
댓글 수: 2
Adam
2015년 1월 12일
What is ExactLin? It isn't part of base Matlab or a toolbox I have and I can't find anything about in in an online search either. Is it your own or a 3rd party function or is it part of a Matlab toolbox? (In the latter case please add the toolbox to the 'Products' list - it does make things easier!)
채택된 답변
Doug Hull
2015년 1월 13일
I think something is amiss on your path. I suspect Legend has been overwritten by a different function that is for some reason calling Kron.
>> which -all legend
C:\Program Files\MATLAB\R2014b\toolbox\matlab\scribe\legend.m
Do you get the above when executing the which command?
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Legend에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!