ggplot subtitle and title position - overlapping titles
<p>I am creating following graph on ggplot and need to annotate some info on each graph as subtitle, the graph looks like this:
<a href="https://i.stack.imgur.com/RQiM1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RQiM1.png" alt="enter image description here"></a>
For title and subtitle purposes, I wrote the following code:</p>

<pre><code>plot.title &lt;- "Link A" 
Common &lt;- paste("Percentage:", "10%", sep=" ")
Average &lt;- paste("Average:", "83", sep= " ")
plot.subtitle &lt;- paste(Common, AverageSearchSpace, sep="\n")
</code></pre>

<p>and add this in ggplot as:</p>

<pre><code>ggtitle(bquote(atop(.(plot.title), atop(.(plot.subtitle), "")))) 
</code></pre>

<p>Yet as it can be seen the titles are overlapping currently and i could not find a way to re-position them without overlapping.</p>

<p>I was wondering what the solution to separate the overlapping titles is. I tried to increase the plot margin in theme() with:</p>

<pre><code>theme(plot.margin = unit(c(2, 2, 2, 2), "cm")
</code></pre>

<p>However, this did not help.</p>

<p>Also, I tried the following:</p>

<pre><code>plot.title = element_text(size = 85,colour="black", vjust = -2)
</code></pre>

<p>This seems to adjust all of the title's position rather than subtitle and title separately.</p>

<p>Also, I could not find any command in theme() such as plot.subtitle to arrange its position. It seems it does not exist.</p>

<p>Any help code piece or related link is appreciated. Thanks.</p>