title: How to show date x-axis labels every 3 or 6 months in ggplot2
body: <p>I generate a plot with code below:</p>
  
  <pre><code>ggplot(reshaped_median, aes(x= Month_Yr, y = value))+ 
  geom_line(aes(color = Sentiments)) + 
  geom_point(aes(color = Sentiments)) + 
  labs(title = 'Change in Sentiments (in median)', x = 'Month_Yr', y = 'Proportion of Sentiments %') + 
  theme(axis.text.x = element_text(angle = 60, hjust = 1))
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Nq4nl.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Nq4nl.png" alt="enter image description here"></a></p>
  
  <p>But as you can notice the dates labels in x-axis are too dense, so if I want to it displays date quarterly or on the half year (every 3 or 6 months).</p>
  
  <p>The values from <code>Month_Yr</code> are with format <code>%Y-%m</code>.</p>
  
  <p>How could I do that? Thanks.  </p>