GPIX | R Documentation |
defining functions for swig
GPIX(nh, g)
nh |
waveform list for RSEIS |
g |
plotting parameter list for interactive program |
Buttons can be defined on the fly.
Multiple picks on a panel
The return value depends on the nature of the function as it is returned to the main code swig. Choices for returning to swig are: break, replot, revert, replace, donothing, exit.
Jonathan M. Lees<jonathan.lees@unc.edu>
swig, XTR
if(interactive()){
###### interactive addition of buttons in swig
STDLAB=c("DONE", "QUIT", "SELBUT" , "GPIX" )
data(GH, package='RSEIS')
JJ = RSEIS::swig(GH, sel=1:10, STDLAB=STDLAB)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.