SELBUT: Select Buttons

View source: R/SELBUT.R

SELBUTR Documentation

Select Buttons

Description

Select buttons interactively.

Usage

SELBUT(OPTS, onoff = 1, ocols = "white", default = "opt")

Arguments

OPTS

character list of buttons

onoff

which buttons are active

ocols

colors for plotting

default

default list of buttons

Details

Used in swig. OPtions can be added, subtracted, deleted, or completely filled out based on interactive choice.

Value

character list of chosen options.

Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

See Also

swig

Examples


## Not run: 
STDLAB <- c("DONE", "QUIT", "zoom.out", "zoom.in", "SELBUT",
"FILT","UNFILT", "PSEL", "SGRAM", "WLET", "SPEC", "XTR" )
onoff = rep(0, length(STDLAB))
onoff[1:5] <- 1
SELBUT(STDLAB, onoff=onoff)


## End(Not run)


RSEIS documentation built on Aug. 19, 2023, 5:07 p.m.