view: pass view arguments into gsplot

View source: R/pass_view_args.R

viewR Documentation

pass view arguments into gsplot

Description

supports configuration arguments (e.g., xlim)

Usage

view(object, ...)

Arguments

object

gsplot object

...

Further graphical parameters may also be supplied as arguments. See 'Details'.

Examples

gs <- gsplot() %>% 
         points(x=1:5, y=1:5, xlim=c(0,10)) %>% 
         view(ylim=c(0, 8.5))
               
ylim(gs)

USGS-R/gsplot documentation built on April 17, 2023, 8:45 p.m.