Learn R Programming

RSEIS (version 3.7-4)

SELBUT: 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

Value

character list of chosen options.

Details

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

See Also

swig

Examples

Run this code
# NOT RUN {
# }
# 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)

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab