Hi,
Is it possible to edit more than one legend in ggplot? I'm using ggplot to map a raster and a shape file with coordinates. I would like to place the legend of the raster at the bottom and place the legend of the coordinates at the right side of the map.
This chunk of code isn't the best practice: aes(color = Species), col="red"
if you wish, you can post a small part of the dataframe to allow us to run your code and check what can be improved using dput(head(YOURDF, 15))
I did try using theme(legend.position) but it moved both the raster legend and the shape file's legend to the same place. I would like to edit and move the legends independently; having the raster's legend at the bottom and the shape file's legend (Species) at the right side of the map.
I created a mini data set, hopefully this link works and is accessible: Example Data