Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Is there an easy way to display Automatically the Frameticks at the bottom and top in a BoxWhiskerChart? Currently it is only showing the numbers at the bottom.

data = Table[{i, RandomVariate[NormalDistribution[i, 2], 100]}, {i, 
100, 125}];
BoxWhiskerChart[data[[All, 2]], BarOrigin -> Left, 
ChartLabels -> data[[All, 1]], AspectRatio -> 1, 
GridLines -> {Automatic, None}, 
FrameTicks -> {{None, None}, {Automatic, Automatic}}]

enter image description here

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Try All instead of Automatic in the FrameTicks option

data = Table[{i, RandomVariate[NormalDistribution[i, 2], 100]}, {i, 
    100, 125}];
BoxWhiskerChart[data[[All, 2]], BarOrigin -> Left, 
 ChartLabels -> data[[All, 1]], AspectRatio -> 1, 
 GridLines -> {Automatic, None}, 
 FrameTicks -> {{None, None}, {All, All}}]

Plot

I can't figure out why it doesn't respect the None on the left/right edges, anyone knows?

share|improve this answer
    
In Mma 8.0 the "None" is respected –  belisarius Nov 7 '12 at 0:02
    
@belisarius I run 8.0.4.0 on linux, which OS are you using? –  ssch Nov 7 '12 at 0:05
    
I'm using Mma 8.0.0.0 That's the difference –  belisarius Nov 7 '12 at 0:08
    
I'm using 8.0.4 MacOSX –  PatoCriollo Nov 7 '12 at 1:54
    
@DiegoZviovich MacOSX? Qué es eso? :D –  belisarius Nov 7 '12 at 4:38
add comment

Your Answer

 
discard

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

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