boxplot, popup window requiring input?
Mostrar comentarios más antiguos
Hi. I'm trying to use the boxplot function and running into some problems. I'm trying something very simple, but it is not working. Code:
x = rand(10,1)
boxplot(x)
When I run the boxplot function a Matlab popup window opens. The name of the window is "Input name", and it is asking for me to "Enter the DATASET name:".
Even if I enter something it crashes. Can anyone help me with this problem?
Thanks, Dan
9 comentarios
Aniruddha Katre
el 20 de Ag. de 2014
There is a chance that a custom function called boxplot is being called. To check whether this is the case, execute the command "which -all boxplot" in the MATLAB command prompt. If you see more than one function called "boxplot" then you will have to remove the ones not contained in the "stats" folder from the MATLAB search path.
dpb
el 20 de Ag. de 2014
What's result of
which boxplot
??? to ensure don't have an aliased function being called instead of builtin.
If that appears ok and after
clear boxplot
Dan
el 20 de Ag. de 2014
Andrew Reibold
el 20 de Ag. de 2014
Editada: Andrew Reibold
el 20 de Ag. de 2014
Very interesting. when i ran your code I receive no pop up, and a plot appears. Using 2014a.
Make me think its an old version, or a custom function as already suggested
dpb
el 20 de Ag. de 2014
I've R2012b here and also no issue -- looks like some sort of a bug or interaction with something else in your installation. Contact official TMW support at www.mathworks.com
Dan
el 20 de Ag. de 2014
Dan
el 21 de Ag. de 2014
Andrew Reibold
el 21 de Ag. de 2014
Editada: Andrew Reibold
el 21 de Ag. de 2014
maybe they could do something, as painful as it would be, but have a designated prefix/suffix to EVERY built in variable. Even if it was just 'MW_' at the beginnig or something. Then everyone would know not to use that ever.
Respuestas (0)
Categorías
Más información sobre Axis Labels en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!