Skip to content

Commit

Permalink
improves fig caption
Browse files Browse the repository at this point in the history
  • Loading branch information
Nowosad committed Sep 5, 2021
1 parent 98a272c commit 97af46c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 04-tm-shape.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@ tm_shape(worldvector, simplify = 0.05, keep.units = TRUE, keep.subunits = TRUE)

Figure \@ref(fig:vectordown):D contains a simplified map, where each spatial geometry of the original map still exists, but in a less detailed form.

```{r vectordown, echo=FALSE, message=FALSE, fig.cap="A map of world's countries based on: (A) original data, (B) simplified data with 5% of vertices kept, (C) simplified data with 5% of vertices, and all features kept, (D) simplified data with 5% of vertices, all features, and all polygons kept."}
(ref:vectordown) A map of world's countries based on: (A) original data, (B) simplified data with 5% of vertices kept, (C) simplified data with 5% of vertices, and all features kept, (D) simplified data with 5% of vertices, all features, and all polygons kept.

```{r vectordown, echo=FALSE, message=FALSE, fig.cap="(ref:vectordown)"}
tms1 = tm_shape(worldvector) +
tm_polygons() +
tm_layout(title = "A")
Expand Down

0 comments on commit 97af46c

Please sign in to comment.