For instance, "Diamond" and "Outliers" in single plot.

BoxWhiskerChart[RandomVariate[LogNormalDistribution[1, 0.5], 100], "Outliers",  "Diamond"]

generates an error, as well as

BoxWhiskerChart[RandomVariate[LogNormalDistribution[1, 0.5], 100], {"Outliers",  "Diamond"}]



1 Answer 1

data= RandomVariate[LogNormalDistribution[1, 0.5], 100] ;
BoxWhiskerChart[data, {"Diamond",{ "Outliers"} }, ImageSize->300] 

enter image description here

"Diamond" and "MeanDiamond" both represent "mean confidence interval", but the latter can be used with parameters width and style.

Row[{BoxWhiskerChart[data, {{"MeanDiamond"}, {"Outliers"}}, ImageSize->300],
  BoxWhiskerChart[data, {"Diamond", {"Outliers"} }, ImageSize -> 300] }]

enter image description here

Same is true for "Notched" and "MedianNotch".

The documentation is not clear about how different elements can be combined. From checking various combinations it seems that at most one of the


can appear in a specification. Each of these elements can be combined with any number of the following:

 {"Fences", width, style}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.