2023-12-22
</td>
</tr>
</tbody>
</table>
</div>
</div>
<pre class="r"><code>#Get legend
l&lt;-get_legend(A+scale_color_manual(labels=c(&quot;ARTEMIS&quot;,&quot;ARTEMIS+DELFI&quot;),values=colors)+theme(legend.position=&quot;top&quot;,legend.title=element_blank(),legend.text=element_text(size=14)))</code></pre>
<pre><code>Scale for &#39;colour&#39; is already present. Adding another scale for &#39;colour&#39;,
which will replace the existing scale.</code></pre>
<pre class="r"><code>legend&lt;-l</code></pre>