Skip to content

Commit

Permalink
Add missing link in episodes/13-intro-to-raster-data.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
cforgaci authored Jan 15, 2024
1 parent efbba48 commit e0fdd63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion episodes/13-intro-to-raster-data.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Now when we view the structure of our data, we will see a standard data frame fo
str(DSM_TUD_df)
```

We can use `ggplot()` to plot this data with a specific `geom_` function called `geom_raster()`. We will make the colour scale in our plot color-blindness friendly with `scale_fill_viridis_c`, introduced in an [earlier lesson](). We will also use the `coord_quickmap()` function to use an approximate Mercator projection for our plots. This approximation is suitable for small areas that are not too close to the poles. Other coordinate systems are available in `ggplot2` if needed, you can learn about them at their help page `?coord_map`.
We can use `ggplot()` to plot this data with a specific `geom_` function called `geom_raster()`. We will make the colour scale in our plot colour-blindness friendly with `scale_fill_viridis_c`, introduced in an [earlier lesson](../episodes/04-intro-to-visualisation.Rmd). We will also use the `coord_quickmap()` function to use an approximate Mercator projection for our plots. This approximation is suitable for small areas that are not too close to the poles. Other coordinate systems are available in `ggplot2` if needed, you can learn about them at their help page `?coord_map`.

```{r first-rast-plot, fig.cap="Raster plot with `ggplot2` using the viridis color scale"}
ggplot() +
Expand Down

0 comments on commit e0fdd63

Please sign in to comment.