필터 지우기
필터 지우기

Error every time I create a new plot

조회 수: 2 (최근 30일)
Mark Cohen
Mark Cohen 2018년 11월 1일
댓글: madhan ravi 2018년 11월 1일
Each time I execute a command such as:
>> clf; plot(H(:,3),H(:,2),'o');
>> clf; hist(H(:,3));
>> clf; surf(H);
>> clf; pie(G(:,2));
or
>> clf; scatter(H(:,3),H(:,2),'o')
etc..., I receive the error:
Undefined function 'ax_create' for input arguments of type 'matlab.graphics.axis.Axes'.
Error using newplot (line 73)
Error while evaluating Axes CreateFcn.
after which a normal-looking plot appears. This also happens the first time I use a plot command after booting MATLAB.
If I do not clear the figure first, the error does not appear.
I would appreciate any insight into what might be going wrong.
I am running on a Macintosh. This problem has persisted in at least MacOS 10.12, 10.13 and 10.14.

답변 (2개)

madhan ravi
madhan ravi 2018년 11월 1일
Try:
>>clf;plot([1:10])
  댓글 수: 1
madhan ravi
madhan ravi 2018년 11월 1일
So you should probably contact Mathworks support team by click the Contact Us button on the top right corner of this page

댓글을 달려면 로그인하십시오.


Mark Cohen
Mark Cohen 2018년 11월 1일
This produces the same error:
>> clf;plot([1:10])
Undefined function 'ax_create' for input arguments of type 'matlab.graphics.axis.Axes'.
Error using newplot (line 73)
Error while evaluating Axes CreateFcn.

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by