fplot and quiver return "Error using box"
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Mathilde
il 15 Feb 2024
Commentato: Star Strider
il 15 Feb 2024
Hello,
I keep getting this error when using the fplot and quiver functions, even when using the most simple example from the documentation.
fplot(@(x) sin(x))
Error using box
Too many input arguments.
Error in fplot (line 169)
box(cax,'on');
[X,Y] = meshgrid(0:6,0:6);
U = 0.25*X;
V = 0.5*Y;
quiver(X,Y,U,V,0)
Error using box
Too many input arguments.
Error in quiver (line 96)
box(cax,'on');
I have updated MATLAB and have been scouring the internet for answers. I am running macOS Sonoma. Has anyone run into these issue before?
1 Commento
Risposta accettata
Star Strider
il 15 Feb 2024
See if you have something else in your MATLAB search path named ‘box’.
which box -all
That is the only thing I can think of that would throw that error.
Running it here:
which box -all
If anything else show up, that could be the problem.
.
5 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Elementary Polygons 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!