Post process for fortify. Based on ggplot2::qplot
ggplot2::ggplot
instances
limits for x axis
limits for y axis
which variables to log transform ("x", "y", or "xy")
character vector or expression for plot title
character vector or expression for x axis label
character vector or expression for y axis label
the y/x aspect ratio
data.frame
p <- qplot(Petal.Length, Petal.Width, data = iris)
#> Warning: `qplot()` was deprecated in ggplot2 3.4.0.
ggfortify:::post_autoplot(p, xlim = c(1, 5), ylim = c(1, 5), log = 'xy', main = 'title',
xlab = 'x', ylab = 'y', asp = 1.5)
#> Scale for x is already present.
#> Adding another scale for x, which will replace the existing scale.
#> Scale for y is already present.
#> Adding another scale for y, which will replace the existing scale.
#> Warning: Removed 92 rows containing missing values or values outside the scale range
#> (`geom_point()`).