print.ggplot {ggplot2}R Documentation

Draw plot on current graphics device.

Description

Draw plot on current graphics device.

Usage

## S3 method for class 'ggplot'
print(x, newpage = is.null(vp), vp = NULL, ...)

## S3 method for class 'ggplot'
plot(x, newpage = is.null(vp), vp = NULL, ...)

Arguments

x

plot to display

newpage

draw new (empty) page first?

vp

viewport to draw plot in

...

other arguments not used by this method


[Package ggplot2 version 1.0.1 Index]