boxplot, popup window requiring input?
Show older comments
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 Comments
Aniruddha Katre
on 20 Aug 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
on 20 Aug 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
on 20 Aug 2014
Andrew Reibold
on 20 Aug 2014
Edited: Andrew Reibold
on 20 Aug 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
on 20 Aug 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
on 20 Aug 2014
Dan
on 21 Aug 2014
Andrew Reibold
on 21 Aug 2014
Edited: Andrew Reibold
on 21 Aug 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.
Answers (0)
Categories
Find more on Axis Labels in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!