OPTREPLOT: Replot Function for SELBUT

View source: R/OPTREPLOT.R

OPTREPLOTR Documentation

Replot Function for SELBUT

Description

Replot Function for SELBUT

Usage

OPTREPLOT(opts , ncol=5, sel=1,  HOZ=TRUE, TOP=TRUE,
cols="white", scol="black", bcol="white" , tcol="black",
slwd=1, blwd=3, main="", xlim=c(0,1), ylim=c(0,1),
cex=1,  mpct = 0.1,  newplot=TRUE)

Arguments

opts

character list of options

ncol

number of columns

sel

vector of selected options

HOZ

logical, TRUE=plot horizontally

TOP

logical, TRUE=plot top-down

cols

colors

scol

select box color

bcol

default box color

tcol

box text color

slwd

select box line width

blwd

default box line width

main

character title

xlim

x-limits in plotting region (user coordinates)

ylim

y-limits in plotting region (user coordinates)

cex

character expansion for text in boxes

mpct

percentage margin to leave between option boxes

newplot

logical, TRUE=new plot

Details

Used internally in SELBUT as a replotting function

Value

list

M

x,y matrix of grid

dx

delta x

dy

delta y

rx

range of x

ry

range of y

Author(s)

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

See Also

SELBUT, swig

Examples



STDLAB=c("DONE", "QUIT", "zoom.out", "zoom.in", "SELBUT", "FILT",
"UNFILT", "PSEL", "SGRAM", "WLET", "SPEC", "XTR" )
OPTREPLOT(STDLAB)


XMCOL =  setXMCOL()
YN = OPTREPLOT(XMCOL, cols =XMCOL, tcol=grey(.8)  ,
scol=  "transparent", bcol= "transparent",  mpct=0.05   )


YN = OPTREPLOT(XMCOL, cols =XMCOL, tcol=grey(.8)  ,
scol=  "transparent", bcol= "black",  mpct=0.05   )





RPMG documentation built on Aug. 19, 2023, 5:12 p.m.