Effacer les filtres
Effacer les filtres

Boxplot is squished to the side

2 vues (au cours des 30 derniers jours)
Joel Abrahams
Joel Abrahams le 19 Juil 2017
Modifié(e) : the cyclist le 19 Juil 2017
I have a single array A (190x1 cell) with values ranging from 1 to 5.
When I try to create a boxplot as such:
boxplot(A);
I get this:
Which is ugly, because it's squished to one side and the decimal values are not required. How do I fix this?
  2 commentaires
Stephen23
Stephen23 le 19 Juil 2017
Modifié(e) : Stephen23 le 19 Juil 2017
"I have a single array A (190x1 cell)..."
I am surprised that boxplot does anything at all, considering that its documentation clearly specifies that its first input must be numeric. Why are you calling boxplot with a cell array?
the cyclist
the cyclist le 19 Juil 2017
Modifié(e) : the cyclist le 19 Juil 2017
Can you upload A in a MAT file, so we can see for ourselves? (@Stephen, I'm guessing OP is just using the word "cell" incorrectly here.)

Connectez-vous pour commenter.

Réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by