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


if(interactive()){ 
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)

}


RSEIS documentation built on Sept. 13, 2024, 1:09 a.m.