Skip to content

Commit 70fa947

Browse files
authored
Merge pull request #450 from rfbrown/patch-3
Update 08-vector-plot-shapefiles-custom-legend.Rmd
2 parents bd05e08 + 51e1367 commit 70fa947

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

episodes/08-vector-plot-shapefiles-custom-legend.Rmd

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ ggplot() +
198198
shape = NA))) +
199199
scale_fill_manual(name = "Soil Type", values = blue_orange,
200200
guide = guide_legend(override.aes = list(linetype = "blank", shape = 21,
201-
colour = NA))) +
201+
colour = "black"))) +
202202
ggtitle("NEON Harvard Forest Field Site") +
203203
coord_sf()
204204
```
@@ -215,8 +215,7 @@ ggplot() +
215215
scale_color_manual(name = "Line Type", values = road_colors,
216216
guide = guide_legend(override.aes = list(linetype = "solid", shape = NA))) +
217217
scale_fill_manual(name = "Soil Type", values = blue_orange,
218-
guide = guide_legend(override.aes = list(linetype = "blank", shape = c(21, 22),
219-
color = blue_orange))) +
218+
guide = guide_legend(override.aes = list(linetype = "blank", shape = c(21, 22), color = "black"))) +
220219
ggtitle("NEON Harvard Forest Field Site") +
221220
coord_sf()
222221
```

0 commit comments

Comments
 (0)