Re: BoxWhiskerPlot - BoxLabels and FrameTicks won't work together
- To: mathgroup at smc.vnet.net
- Subject: [mg102994] Re: [mg102953] BoxWhiskerPlot - BoxLabels and FrameTicks won't work together
- From: "David Park" <djmpark at comcast.net>
- Date: Thu, 3 Sep 2009 07:27:29 -0400 (EDT)
- References: <5699121.1251971388637.JavaMail.root@n11>
Because BoxLabels are really part of the FrameTicks and you are specifying
your own FrameTicks with None for the lower horizontal Frame scale. Use:
Needs["StatisticalPlots`"]
list1 = {4, 3, 5, 6, 4, 5, 7, 5, 3}
list2 = {5, 6, 7, 6, 7, 5, 4}
BoxWhiskerPlot[list1, list2,
FrameTicks -> {{{3, 3.5, 4, 4.5}, None}, {{{1, "A"}, {2, "B"}},
None}}]
David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/
From: janeywit [mailto:janeywit at gmail.com]
Hi,
I have the problem that I can't seem to have both BoxLabels and
FrameTicks show up together. Here's an example:
Needs["StatisticalPlots`"]
list1 = {4, 3, 5, 6, 4, 5, 7, 5, 3}
list2 = {5, 6, 7, 6, 7, 5, 4}
BoxWhiskerPlot[list1, list2, BoxLabels -> {"A", "B"}, FrameTicks ->
{{{3, 3.5, 4, 4.5}, None}, {None, None}}]
If I remove the FrameTicks then the BoxLabels show up correctly, but I
can't seem to have both together. Is there any way to do this?
Thanks!