title: Different Starting Point (not 0)  in barplot Y-Axis?
body: <p>I am trying to create a simple bar graph including two bars showing the average math scores of two groups of students. The averages are 363.2 and 377.4. creating bar graph is simple. What I'd like to do is to have my y-axis starts from 340 rather than 0. I do know how to change the limits of y-axis, but the issue is when I change the limit of y-axis to c(340, 380), R still draws the whole bar which most of it is below the x-axis!</p>
  
  <p>Here is my code:</p>
  
  <pre><code>barplot(c(363.2, 377.4), beside = T, ylim = c(340,380), col = c("orange", "blue"))
  </code></pre>
  
  <p>I've also attached my plot:</p>