Skip to content

Commit

Permalink
Increase number of bins in histogram
Browse files Browse the repository at this point in the history
Suggested by Manuel
  • Loading branch information
cforgaci authored Jan 15, 2024
1 parent e0fdd63 commit e7d2899
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 @@ -223,7 +223,7 @@ This message is caused by a default setting in `geom_histogram()` enforcing that

```{r}
ggplot() +
geom_histogram(data = DSM_TUD_df, aes(`tud-dsm-5m`), bins = 40)
geom_histogram(data = DSM_TUD_df, aes(`tud-dsm-5m`), bins = 60)
```

Note that the shape of this histogram looks similar to the previous one that was created using the default of 30 bins. The distribution of elevation values for our Digital Surface Model (DSM) looks reasonable. It is likely that there are no bad data values in this particular raster.
Expand Down

0 comments on commit e7d2899

Please sign in to comment.