getAspectRatio: Get aspect information of a ggplot

getAspectRatioR Documentation

Get aspect information of a ggplot

Description

Get aspect information of a ggplot

Usage

getAspectRatio(p)

Arguments

p

A ggplot object

Examples

p<-ggplot2::ggplot(data=mtcars,ggplot2::aes(x=.data$wt,y=.data$mpg))+ggplot2::geom_point()
getAspectRatio(p)

predict3d documentation built on Nov. 5, 2025, 6:34 p.m.