Azzera filtri
Azzera filtri

Error every time I create a new plot

2 visualizzazioni (ultimi 30 giorni)
Mark Cohen
Mark Cohen il 1 Nov 2018
Commentato: madhan ravi il 1 Nov 2018
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.

Risposte (2)

madhan ravi
madhan ravi il 1 Nov 2018
Try:
>>clf;plot([1:10])
  1 Commento
madhan ravi
madhan ravi il 1 Nov 2018
So you should probably contact Mathworks support team by click the Contact Us button on the top right corner of this page

Accedi per commentare.


Mark Cohen
Mark Cohen il 1 Nov 2018
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.

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by