Learn R Programming

PBSmodelling (version 2.68.6)

testLwd: Display Line Widths

Description

Display line widths. User can specify particular ranges for lwd. Colours can also be specified and are internally repeated as necessary.

Usage

testLwd(lwd=1:20, col=c("black","blue"), newframe=TRUE)

Arguments

lwd

line widths to display. Ranges can be specified.

col

colours to use for lines. Patterns are repeated if length(lwd) > length(col)

newframe

if TRUE, create a new blank frame, otherwise overlay current frame.

Examples

Run this code
# NOT RUN {
local(envir=.PBSmodEnv,expr={
  testLwd(3:15,col=c("salmon","aquamarine","gold"))
})
# }

Run the code above in your browser using DataLab