Read the "More About" section of the boxplot doc that explains the output plot -- in particular, - observation within the whisker length (the adjacent value).
- Observations beyond the whisker length are marked as outliers. By default, an outlier is a value that is more than 1.5 times the interquartile range away from the bottom or top of the box. However, you can adjust this value by using additional input arguments. An outlier appears as a red + sign. (emphasis added --dpb)
Per the usual caveat, to be able to dig deeper would take having the actual data, at least for that case...although knowing there were 5 points can create a sample dataset that duplicates the appearance
q=quantile(v,[0.25 0.75])
v(v>q(2)&v<max(v))
ans =
1×0 empty double row vector
shows that there are no points less than the max that are greater than the upper (75th) quantile and by definition of an outlier as above/below 1.5x the quantile range
upperoutlimit=q(2)+1.5*diff(q)
outlier=(v(end)>=upperoutlimit)
shows the last point is, indeed, an outlier by that definition and since there's no other value sabove the upper quantile as max that is not an outlier, there is no upper whisker to show that value.
loweroutlimit=q(1)-1.5*diff(q)
outlier=(v(1)<=loweroutlimit)
You'll be able to verify the same tests with the exact values you have/used.
The particular dataset is anomalous owing to the one outlier and in having so few elements that that one outlier creates the situation you see.
As far as the standard deviation, the box plot doesn't show it at all at any time.