title: Remove some of the axis labels in ggplot faceted plots
body: <p>I have created a plot like <a href="https://ggplot2.tidyverse.org/reference/facet_wrap-8.png" rel="noreferrer">the one here</a> with <code>ggplot2</code> package and <code>facet_wrap</code> function, and I would like to suppress some of the x-axis text to make it more legible. </p>
  
  <p>For example, here it would be more legible if the x-axis scales appeared only on boxes D, F, H and J.</p>
  
  <p>How could I do that? Thanks in advance!</p>
  
  <p><strong>EDIT</strong> : the reproducible code</p>
  
  <pre><code>library(ggplot2)
  d &lt;- ggplot(diamonds, aes(carat, price, fill = ..density..)) +
    xlim(0, 2) + stat_binhex(na.rm = TRUE) + theme(aspect.ratio = 1)
  d + facet_wrap(~ color, nrow = 1)
  </code></pre>
  
  <p><img src="https://i.imgur.com/t5Kgg5b.png" alt=""></p>