Skip to content

Commit

Permalink
Update 09-layout2.R
Browse files Browse the repository at this point in the history
  • Loading branch information
Nowosad committed Mar 26, 2023
1 parent 7cad6cd commit 341fae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/09-layout2.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ legend_title = expression("Area (km"^2*")")
map_nza = tm_shape(nz) +
tm_fill(col = "Land_area", title = legend_title) + tm_borders()
c1 = map_nza + tm_layout('frame.lwd = 5', frame.lwd = 5)
c2 = map_nza + tm_layout('inner.margins = 0.2', inner.margins = 0.2)
c2 = map_nza + tm_layout('inner.margins = 0.2', inner.margins = rep(0.2, 4))
c3 = map_nza + tm_layout('legend.show = FALSE', legend.show = FALSE)
c4 = map_nza + tm_layout('legend.position =\n c("right", "bottom")', legend.position = c("right", "bottom"))
tmap_arrange(c1, c2, c3, c4, nrow = 1)

0 comments on commit 341fae6

Please sign in to comment.