isometric: Enforce Isometry

View source: R/isometric.R

isometricR Documentation

Enforce Isometry

Description

Enforces isometric plot design: aspect ratio of 1, identical ranges for x and y axes. Can be used meaningfully with + facet_wrap(scales = 'free' ...).

Usage

isometric()

Value

ggplot_isometric

See Also

ggplot_add.ggplot_isometric

Other isometric: ggplot_add.ggplot_isometric(), ggplot_add.ggplot_symmetric(), symmetric()

Examples

library(magrittr)
library(ggplot2)
data.frame(x = 1:5, y = 3:7) %>%
ggplot(aes(x, y)) + geom_point() + isometric()

yamlet documentation built on Oct. 6, 2023, 9:07 a.m.