title: Adjusting graph bar height with ggplot2
body: <pre><code>df2 &lt;- iris[c(5,1)]
  df3 &lt;- aggregate(df2$Sepal.Length, list(df2$Species), mean)
  names(df3) &lt;- c("x","y")
  
  ggplot(df3, aes(x,y)) +
    geom_bar(aes(fill=x),stat="identity") +
    theme(axis.ticks=element_blank(), axis.text.x=element_blank())
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/H2Q6F.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/H2Q6F.png" alt="enter image description here"></a></p>
  
  <p>I have successfully removed axis tick marks and labels from this plot. I am trying to get rid of the blank grey space underneath the bars. Zero should be the lower bound for the chart. I've been searching unsuccessfully for an adjustment function to either pull the bars down or to cut off the bottom grey portion. The hope is that ggplots are not hardwired with the extra space underneath. </p>