title: Giving Specific Breaks in ggplot
body: <p>I have CSV data where I have two columns and I need to plot Time as x axis and count as y axis. The time in the data ranges from 2008 Sep to 2021 Dec. Data points are monthly.</p>
  <p>This is my <a href="https://drive.google.com/file/d/16Kmx-wqC2mKmURaZsIutoFMupnLKrh7U/view?usp=sharing" rel="nofollow noreferrer">data</a> in csv format.</p>
  <p>When I plotted the data, since there are lot of points for month and year, I am not able to see the labels in the x axis.</p>
  <p><a href="https://i.stack.imgur.com/8E0Sa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8E0Sa.png" alt="enter image description here" /></a></p>
  <p>I want to put 5 certain time points in the x axis like below:</p>
  <p><a href="https://i.stack.imgur.com/e777O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e777O.png" alt="enter image description here" /></a></p>
  <p>This is what I tried:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>library(ggplot2)
  theme_set(
    theme_bw(),
    theme(legend.position = "top")
  )
  
  result &lt;- read.csv("Downloads/Questions Trend - Questions Trend.csv")
  p &lt;- ggplot(result, aes(result$Time_Formatted, result$VCS_Feature_History_Sanitize_Trnd)) + 
       geom_point(size = 0.1) + xlab("Month") + ylab("Temporal Trend")
  p + geom_smooth(method = "loess", color = "red")</code></pre>
  </div>
  </div>
  </p>
  <p>I tried below and could remove some points but still can not customize to specific points.</p>
  <pre><code>library(ggplot2)
  library(scales)
  theme_set(
    theme_bw(),
    theme(legend.position = &quot;top&quot;)
  )
  
  result &lt;- read.csv(&quot;Downloads/Questions Trend - Questions Trend.csv&quot;)
  result$Time_Formatted &lt;- as.Date(result$Time_Formatted)
  p &lt;- ggplot(result, aes(result$Time_Formatted, result$VCS_Feature_History_Sanitize_Trnd)) + 
       geom_point(size = 0.1) + xlab(&quot;Month&quot;) + ylab(&quot;Temporal Trend&quot;) +
      scale_x_date(date_breaks = &quot;years&quot; , date_labels = &quot;%b-%y&quot;)
  p + geom_smooth(method = &quot;loess&quot;, color = &quot;red&quot;)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/A9DYL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/A9DYL.png" alt="enter image description here" /></a></p>
  <p>How to give specific points in the x axis?</p>