title: ggplot apply different scaling to parts of axis for continuous variable
body: <p>I'm trying to make an age distribution comparison between groups in ggplot in R and what I'd like to do is emphasize specific age groups by making that part of the axis wider:</p>
  
  <p><img src="https://i.stack.imgur.com/kUUDd.png" alt="graph example"></p>
  
  <p>Here, I'd like to expand the 0, 6, 12, 24, 36 range to be wider, but reduce the length of the 60, 120 etc tail so it's not as long.</p>
  
  <p>Code I'm using:</p>
  
  <pre><code>require(ggplot2)
  p &lt;- ggplot(age.df, aes(x=group, y=Age.cont, fill=group)) + 
  geom_violin(trim=TRUE) + geom_boxplot(width=0.05, colour = "#FFFFFF", 
  outlier.shape = NA) + 
  scale_fill_manual(values=rev(c("#83141F", "#1F427D", "#036A3C"))) +
  scale_colour_manual(values="#FFFFFF") + theme_classic() +
  xlab("") + ylab("Age (months)") + scale_y_continuous(breaks = c(0, 6, 12, 24, 
  36, 48, 60, 120))
  
  p + coord_flip()
  </code></pre>
  
  <p>Any help is appreciated</p>