4
$\begingroup$

I would like to adjust the plot range of a PairedBarChart along the 'bar' direction. However,

PairedBarChart[RandomReal[10, 10], RandomReal[10, 10], 
  PlotRange -> 
    {{0, 20} (*along bar/ labeled axis*), 
     Automatic (*along center axis*)}]

doesnt work.

$\endgroup$
  • $\begingroup$ This was in Version 9; Version 10 works, see below $\endgroup$ – user18798 Sep 10 '14 at 12:06
4
$\begingroup$

It functions with V10:

PairedBarChart[RandomReal[10, 10], RandomReal[10, 10],
 PlotRange -> {{0, 20}, Automatic}]

enter image description here

The same with V9 delivers an error message. Replacing Automatic with All in V9 functions, but doesn't produce the desired result:

PairedBarChart[data1, data2, PlotRange -> {{0, 20}, All}]

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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