Learn R Programming

plgraphics (version 1.2)

pl.envir: Environment Containing Information for Generating Pl Graphics

Description

The environment pl.envir contains options and information generated by the user or the high level pl*() functions to guide many aspects of pl graphical displays.

Usage

pl.envir

Arguments

Details

The environment contains the following objects:

usr.ploptions:

The ploptions that are the current user choice. It is initiated with the package's choices in default.ploptions and modified whenever ploptions are set (and assign is TRUE), see ploptions.

ploptions:

The last (or current) list used (and often modified) by a high level pl function.

plfeatures, marpar:

Additional features used by pl functions

pldata:

The last (or current) data set used by pl functions

pl.scaleFunctions:

scale functions known to plgraphics, useful for scales to be used for showing axes.

Examples

Run this code
pl.envir$usr.ploptions$margin.line   ## same as ...
ploptions("margin.line")
# The objects inside pl.envir:
ls(pl.envir) 

plyx(1:4)
ploptions(margin.line=c(3,1))
ploptions("margin.line")
pl.envir$usr.ploptions$margin.line
pl.envir$ploptions$margin.line  ## the choice for
  ## the last called high level pl function
str( pl.envir$plfeatures )


Run the code above in your browser using DataLab