title: Using ggplot2, how to set the Tick Marks intervals on y-axis without distorting my Boxplot?
body: <p>I am using ggplot2 to create a Box Plot chart. My R codes stand as follows:</p>
  
  <pre><code>ggplot(mydata4, aes(PropertyCode,Total.Extras.Per.GN, fill=Original.Meal.Plan.Code))+
    geom_boxplot(outlier.shape=NA) +
    ylim(c(0,1000))
  </code></pre>
  
  <p>This gives me the following output:</p>
  
  <p><a href="https://i.stack.imgur.com/hOoWW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hOoWW.png" alt="Boxplot 1"></a></p>
  
  <p>However after adding the following line of code to my existing codes, I end up with Figure 2 (shown below):</p>
  
  <pre><code>+ scale_y_continuous(breaks = seq(0, 1000, by=100)) 
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/PUTZY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PUTZY.png" alt="Boxplot 2"></a></p>
  
  <p>As you can see, it distorts the whole graph. How do I go about maintaining my chart as Figure 1 and yet have the proper intervals displayed on the y-axis?</p>