Display Plotting Symbols or Octal Strings

Share:

Description

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

Usage

1
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 degreesC).

...

additional arguments for functions points or text.

Author(s)

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

See Also

testLty, testLwd, addLabel

Examples

1
2
3
4
5
6
7
8
9
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)
})

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.