title: ggplot2 - Size Aesthetic for Text and Point Geoms
body: <p>I am using <code>ggplot2</code> to make a scatter plot and I'd like to have a size aesthetic mapped to the <code>geom_point()</code> and the <code>geom_text()</code> geoms but using different continuous variables to dictate that size. </p>
  
  <p>There are a <a href="https://stackoverflow.com/questions/16129876/ggplot2-multiple-scales-legends-per-aesthetic-revisited">couple</a> of questions <a href="https://stackoverflow.com/questions/11752709/using-two-scale-colour-gradients-on-one-ggplot?lq=1">similar</a> to this one, but neither of them are exactly what I'm asking. I would like to use the same aesthetic on two different geoms, not the same aesthetic on the same geom. I would like to have a labeled scatter plot where the size of the points and the size of the text are mapped to different continuous variables. I do not need the text mapping to have a legend. Below is my attempt. </p>
  
  <pre><code>library(ggplot2)
  
  ggplot(data = mtcars) +
    geom_point(aes(x = hp, y = mpg, size = qsec)) +
    geom_text(aes(x = hp, y = mpg, 
                  label = row.names(mtcars), size = wt))
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/zQS2N.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zQS2N.png" alt="enter image description here"></a></p>
  
  <p>As you can see, the second aesthetic is the only one that makes it on to the graph but it seems like both legends are plotted on top of one another. Is this something that can be done?</p>