Tell me more ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

In a previously posted question VLC used the element specification

{"MedianMarker", filledCircle[10], Black}

in a box and whisker chart, where

filledCircle[size_] := Graphics[{Black, Disk[]}, ImageSize -> size]

VLC was dissatisfied with the way the his filled circles were displayed in the resulting chart. Two answers were offered and there was some lively discussion in the comments.

Strangely there was an elephant in the post and nobody noticed it. According to the Mathematica documentation on BoxWhiskerChart, the second element in a MedianMarker specification is a number specifying the width of the horizontal line used to draw the median marker. There is no indication that a function application evaluating to a graphics object is acceptable.

Thus my questions: Why does what VLC did work at all? Has he discovered a undocumented feature?

share|improve this question
I don't think it is undocumented on purpose... poorly documented maybe. PlotMarkers also allows you to use custom graphics instead of text based markers, so by extension, it was equally probable that a different *Marker also accepts graphics objects. I've never used BoxWhiskerChart, but if I had to, I would've thought of trying a Graphics object, even if the docs didn't suggest it – rm -rf Nov 1 '12 at 13:29
It's not entirely undocumented; there's an example using it in Scope > Elements – Brett Champion Nov 1 '12 at 13:57
1  
@BrettChampion Not really the same thing I'm bringing up here -- that shows a text character can be used not a graphics object. – m_goldberg Nov 1 '12 at 14:57
1  
@m_goldberg Anyplace you can use a text marker in a graphic, you can generally use anything. – Brett Champion Nov 1 '12 at 16:16
@BrettChampion That's an interesting observation. I'll keep it in mind. – m_goldberg Nov 1 '12 at 20:30

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.