title: ggplot: plot title and plot overlap each other
body: <p><a href="https://i.stack.imgur.com/FFtrl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FFtrl.png" alt="Plot"></a></p>
  
  <p>I am a newbie to R and hence having some problems in plotting using ggplot and hence need help.</p>
  
  <p>In the above diagram, if any of my bars have high values (in this case, a green one with value of 447), the plot and the plot title gets overlapped. The values here are normalised / scaled such that the y-axis values are always between 0-100, though the label might indicate a different number (this is the actual count of occurrences, where as the scaling is done based on percentages).</p>
  
  <p>I would like to know how to avoid the overlap of the plot with the plot title, in all cases, where the bar heights are very close to 100.</p>
  
  <p>The ggplot function I am using is as below.</p>
  
  <pre><code>my_plot&lt;-ggplot(data_frame,
             aes(x=as.factor(X_VAR),y=GROUP_VALUE,fill=GROUP_VAR)) +
    geom_bar(stat="identity",position="dodge")  +
    geom_text(aes(label = BAR_COUNT, y=GROUP_VALUE, ymax=GROUP_VALUE, vjust = -1), position=position_dodge(width=1), size = 4) + 
    theme(axis.text.y=element_blank(),axis.text.x=element_text(size=12),legend.position = "right",legend.title=element_blank()) + ylab("Y-axis label") + 
    scale_fill_discrete(breaks=c("GRP_PERCENTAGE", "NORMALIZED_COUNT"),
                        labels=c("Percentage", "Count of Jobs")) +
    ggtitle("Distribution based on Text Analysis 2nd Level Sub-Category") + 
    theme(plot.title = element_text(lineheight=1, face="bold"))
  </code></pre>
  
  <p>Here is the ggsave command, in case if that is creating the problem, with dpi, height and width values.</p>
  
  <pre><code>ggsave(my_plot,file=paste(paste(variable_name,"my_plot",sep="_"),".png",sep = ""),dpi=72, height=6.75,width=9)
  </code></pre>
  
  <p>Can anyone please suggest what need to be done to get this right?</p>
  
  <p>Many Thanks</p>