Learn R Programming

PBSmodelling (version 2.68.8)

testPch: Display Plotting Symbols or Octal Strings

Description

Display plotting symbols or octal strings. User can specify particular ranges (increasing continuous integer) for pch.

Usage

testPch(pch=1:100, ncol=10, grid=TRUE, newframe=TRUE, octal=FALSE, ...)

Arguments

pch

symbol codes or octal string numbers.

ncol

number of columns in display (can only be 2, 5, or 10). Most sensibly this is set to 10.

grid

logical: if TRUE, grid lines are plotted for visual aid.

newframe

logical: if TRUE reset the graph, otherwise overlay on top of the current graph.

octal

logical: if TRUE, show octal strings (backslash characters) used in text statements (e.g., "30\272C" = 30\(^\circ\)C).

...

additional arguments for functions points or text.

Author

Rowan Haigh, Pacific Biological Station, Fisheries and Oceans Canada, Nanaimo BC

See Also

testLty, testLwd, addLabel

Examples

Run this code
local(envir=.PBSmodEnv,expr={
  testPch(123:255)
})
local(envir=.PBSmodEnv,expr={
  testPch(1:25,ncol=5)
})
local(envir=.PBSmodEnv,expr={
  testPch(41:277,octal=TRUE)
})

Run the code above in your browser using DataLab