Skip to content

Commit

Permalink
Merge pull request #450 from rfbrown/patch-3
Browse files Browse the repository at this point in the history
Update 08-vector-plot-shapefiles-custom-legend.Rmd
  • Loading branch information
jonjab authored Nov 23, 2024
2 parents bd05e08 + 51e1367 commit 70fa947
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions episodes/08-vector-plot-shapefiles-custom-legend.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ ggplot() +
shape = NA))) +
scale_fill_manual(name = "Soil Type", values = blue_orange,
guide = guide_legend(override.aes = list(linetype = "blank", shape = 21,
colour = NA))) +
colour = "black"))) +
ggtitle("NEON Harvard Forest Field Site") +
coord_sf()
```
Expand All @@ -215,8 +215,7 @@ ggplot() +
scale_color_manual(name = "Line Type", values = road_colors,
guide = guide_legend(override.aes = list(linetype = "solid", shape = NA))) +
scale_fill_manual(name = "Soil Type", values = blue_orange,
guide = guide_legend(override.aes = list(linetype = "blank", shape = c(21, 22),
color = blue_orange))) +
guide = guide_legend(override.aes = list(linetype = "blank", shape = c(21, 22), color = "black"))) +
ggtitle("NEON Harvard Forest Field Site") +
coord_sf()
```
Expand Down

0 comments on commit 70fa947

Please sign in to comment.