View source: R/ggstrat-geoms.R
geom_point_exaggerate | R Documentation |
Exaggerated geometries that do not train scales
geom_point_exaggerate( mapping = NULL, data = NULL, stat = "identity", position = "identity", ..., exaggerate_x = 1, exaggerate_y = 1, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE ) geom_line_exaggerate( mapping = NULL, data = NULL, stat = "identity", position = "identity", ..., exaggerate_x = 1, exaggerate_y = 1, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE ) geom_lineh_exaggerate( mapping = NULL, data = NULL, stat = "identity", position = "identity", ..., exaggerate_x = 1, exaggerate_y = 1, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE ) geom_area_exaggerate( mapping = NULL, data = NULL, stat = "identity", position = "identity", ..., exaggerate_x = 1, exaggerate_y = 1, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE ) geom_areah_exaggerate( mapping = NULL, data = NULL, stat = "identity", position = "identity", ..., exaggerate_x = 1, exaggerate_y = 1, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE )
mapping, data, stat, position, na.rm, show.legend, inherit.aes, ... |
See parent geometries |
exaggerate_x, exaggerate_y |
The factor by which to exaggerate x or y values |
A subclass of ggplot2::Geom.
library(ggplot2) ggplot(keji_lakes_plottable, aes(x = rel_abund, y = depth)) + geom_lineh_exaggerate(exaggerate_x = 2, lty = 2) + geom_col_segsh() + scale_y_reverse() + facet_abundanceh(vars(taxon), grouping = vars(location)) + labs(y = "Depth (cm)")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.