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.

What options control axes style in PairedHistogram? Here's the online doc. I'm trying to control axes color, thickness, and probably font size on the tick marks. but the options are confusing me:

data = Transpose@
   Table[{RandomInteger[{1, 10}], RandomInteger[{1, 10}]}, {100}];
PairedHistogram[data[[1]], data[[2]],
 PlotRange -> {All, All}, BarOrigin -> "XAxis", 
 ChartBaseStyle -> {EdgeForm[None]}, 
 ChartStyle -> {{Blue, Orange}, None, 
   None},(*ChartElementFunction-> \
ChartElementDataFunction["SegmentScaleRectangle","Segments"-> \
5,"ColorScheme"->"SolarColors"],*)
 ChartLegends -> {"A", "B"}, 
 ImageSize -> 300, AspectRatio -> 1]

enter image description here

share|improve this question
    
AxesStyle -> Red ?? –  belisarius Jan 25 '13 at 18:46
    
Okidok. That works for color, but AxesStyle -> {Red, Thickness[0.001]} only changes the horizontal axes's thickness. not vertical.? Also, adding FontFamily->"Helvetica" in the options list causes an error even though adding this last thing does correct the previous issue and it does change the ticks to Helvetica. –  alancalvitti Jan 25 '13 at 18:49
    
Please see my answer –  belisarius Jan 25 '13 at 18:51
    
Where is your other PairedHistogram question? –  belisarius Jan 26 '13 at 0:36
    
I deleted it... –  alancalvitti Jan 26 '13 at 0:53
add comment

1 Answer 1

up vote 2 down vote accepted
data = Transpose@
   Table[{RandomInteger[{1, 10}], RandomInteger[{1, 10}]}, {100}];
PairedHistogram[data[[1]], data[[2]], PlotRange -> {All, All}, 
 BarOrigin -> "XAxis", ChartBaseStyle -> {EdgeForm[None]}, 
 ChartStyle -> {{Blue, Orange}, None, None}, 
 ChartLegends -> {"A", "B"}, ImageSize -> 300, AspectRatio -> 1, 
 AxesStyle -> {Directive[Orange, FontFamily -> "Helvetica",  FontSize -> 20], 
               Directive[Blue, FontFamily -> "Helvetica", FontSize -> 20]}]

Mathematica graphics

share|improve this answer
    
Excellent, that works, thanks. –  alancalvitti Jan 25 '13 at 18:52
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.