setUpGraph: Set up a Window for Plotting

View source: R/all_custom_functions.R

setUpGraphR Documentation

Set up a Window for Plotting

Description

Opens a new external window for plotting. Mainly consists of calling dev.new() function. As an invisible output the current par() settings are returned by the use of parSave().

Usage

setUpGraph(row = 2, col = 2)

Arguments

row

Set number of rows in plot window.

col

Set number of columns in plot window.

Value

Returns (invisibly) the current par() settings by the use of parSave().

Examples

olpar <- setUpGraph(row = 2, col = 2)
plot(1:5)
parReset(olpar)
plot(1:5)

ryannick28/CustomFunctionsYrotha documentation built on June 1, 2025, 4:02 p.m.