1
$\begingroup$
 Module[{labels = {"AIDS", "AIDS ALERT", "AIDS CARE", "AIDS POL & LAW", "BMJ", "INT J STD AIDS", "JAIDS", "LANCET", "NEW ENGL J MED", "SAMJ"}, data = {4, 3, 3, 2, 2, 2, 5, 2, 2, 3}}, BarChart[data, ChartLabels -> Placed[Sort[labels], {{0.5, 0}, {0.9, 1}}, Rotate[#, 50 Degree, {Right, Center}] &], PlotRange -> {Automatic, {0, 6}}, ImagePadding -> {{20, 0}, {95, 0}}, Frame -> {{True, True}, {True, True}}, FrameLabel -> {Style["", FontSize -> 18], Style["nº de publicaciones", FontSize -> 18]}, FrameTicks -> {{True, None}, {None, None}}]] 

Why the right-vertical Frame doesn't show up? Why the left-vertical Framelabel doesn't show up?

Does anybody know how can I fix this?

Thanks in advance

$\endgroup$
1
  • 1
    $\begingroup$ You need to play with ImagePadding. Something like ImagePadding -> {{100, 20}, {95, 20}}. $\endgroup$ Commented Nov 18, 2016 at 14:54

1 Answer 1

2
$\begingroup$

They don't show up because you have set the ImagePadding option too small. If you increase those values all the labels show up:

Module[ { labels = {"AIDS", "AIDS ALERT", "AIDS CARE", "AIDS POL & LAW", "BMJ", "INT J STD AIDS", "JAIDS", "LANCET", "NEW ENGL J MED", "SAMJ"}, data = {4, 3, 3, 2, 2, 2, 5, 2, 2, 3} }, BarChart[ data, ChartLabels -> Placed[Sort[labels], {{0.5, 0}, {0.9, 1}}, Rotate[#, 50 Degree, {Right, Center}] &], PlotRange -> {Automatic, {0, 6}}, ImagePadding -> {{50, 50}, {100, 50}}, Frame -> {{True, True}, {True, True}}, FrameLabel -> {Style["", FontSize -> 18], Style["nº de publicaciones", FontSize -> 18]}, FrameTicks -> {{True, None}, {None, None}} ] ] 

Showing the labels

$\endgroup$
0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.