r/RStudio • • 2d ago

Coding help Annotating Graph

Post image

This is an example of a primary productivity heatmap I made in R. I'm wondering if anyone knows a way for me to label the bodies of water in this figure (North Atlantic, Hudson Bay, etc.), or will I have to do this manually in pptx? Made using ggplot2 and terra. Thanks for the help!

11 Upvotes

6 comments sorted by

View all comments

1

u/novica 1d ago

ggindex will help you with a legend it you don’t want the labels in the map

1

u/Simpologist 1d ago

Thanks I will try this! I tried what another user mentioned and it being labeled on the map directly obscured what I’m trying to get across.

1

u/novica 1d ago

if you can, let me know how it goes :)