title: Unclear legend with shape and linetype
body: <p>I am making a plot where I differentiate two classes of data. In addition to colour*, I want to use shape for the points and linetype for the smooths so that the plot is printer etc friendly. </p>
  
  <p>The plot works fine, but the legend is difficult - the point almost perfectly fills the gap in the dashed line. </p>
  
  <pre><code>library(tidyverse)
  
  set.seed(44)
  data_frame(x = rep(1:10, 2), y = rnorm(20), z = gl(n = 2, k = 10)) %&gt;% 
    ggplot(aes(x = x, y = y, colour = z, shape = z, linetype = z)) +
    geom_point() +
    geom_smooth(se = FALSE)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/dEwOP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dEwOP.png" alt="enter image description here"></a></p>
  
  <p>I know I could make two legends, but that seems redundant. Is it possible to move the position of the shape to the end of the line in the legend? I tried using a dotted line but that didn't help much. </p>
  
  <p>(*In my actual code, I am using scale_colour_brewer)</p>