title: Diagonal grading of background color of ggplot graph in R
body: <p>I am looking to do a graph in the following style, with a fading background. More specifically, I hope to get a diagonal fading</p>
  
  <p><a href="https://i.stack.imgur.com/ssFGO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ssFGO.png" alt="Desired graph"></a></p>
  
  <p>I have already made the graph as so:</p>
  
  <pre><code>ggplot(Data) +
    aes(x=Data$log.avg, y=Data$CoV) +
    geom_point(alpha = 0.3) +
    ggtitle("Oversigt over udbetalingskonti") +
    geom_text(aes(label=ifelse(Data$log.avg &gt; 1.6 | Data$CoV &gt; 2 &amp;
    Data$log.avg &gt; -0.5 , as.character(Data$KT),'')),hjust=-0.2, vjust=-0.2, size=3) +
   labs(x="Avg",y="Coefficient of Variation") 
  </code></pre>