fBasics (version 3011.87)

decor: Decor Functions

Description

Functions for decorating plots. The plot utility functions are:

decor
simple decoration function,
hgrid
creates horizontal grid lines,
vgrid
creates vertical grid lines,
boxL
creates a L-shaped box,
box_
creates a bogttom line box,

Usage

decor()
hgrid(ny = NULL, ...) vgrid(nx = NULL, ...)
boxL(col = "white") box_(col = c("white", "black"))
copyright()

Arguments

col
the color of the background, "black" and foreground "white" lines of the box.
nx, ny
number of cells of the grid in x or y direction. When NULL, as per default, the grid aligns with the tick marks on the corresponding default axis (i.e., tickmarks as computed by axTicks).
...
additional arguments passed to the grid() function.

Examples

Run this code
## Test Plot Function:
   plot(x = rnorm(100), type = "l", col = "red", 
     xlab = "", ylab = "Variates", las = 1)
   title("Normal Deviates", adj = 0)
   hgrid()
   boxL()
   copyright()

Run the code above in your browser using DataLab