 |
Essential Wavelets for Statistical Applications and Data Analysis
R.T. Ogden, University of South Carolina
0-8176-3864-4 * 1996 * $40.00 * Hardcover * 285 pages * 40 Illustrations
|
S+ Functions to Generate Figures
For the most part, these functions are exactly the ones I used to
generate the figures in the book.
Except when indicated, each function is self-contained --- that is, no
other functions are required. In some cases, short subroutines are
appended at the bottom of the function code. None of the macros
contained here have any required arguments.
Some notes are in order:
- Supplementary functions: Some of the functions require
one or two subroutines. As mentioned above, they are generally
included at the end of the main macro. When the subroutine is either
fairly long or useful in its own right, it is included separately and
noted after the link.
- Wavelet software: Most of the functions (certainly almost all of
the "interesting" functions) depend on some wavelet software. Two
software packages were used: Guy Nason's free
"wavethresh" software (available from the S+ archive at Mathsoft as an optional add-on to
S+. The functions which require Nason's software are denoted by #;
those that require the S+Wavelets package are marked by *. When time
permits, I will generate alternative versions of some of these
functions.
- Naming scheme: Each S+ function is named "FigX.Yz," where X
refers to the chapter number, Y refers to the figure number (within
the chapter), and z is a label -- 'n' indicates that Nason's software is
required; 's' indicates that S+Wavelets is needed. When neither is
needed, there is no z label.
- Output: In writing the book, each of these functions produced a
graph in postscript form (named "FigX.Y"). I have left all the
formatting in the functions, but in each function, I have commented
out two lines -- the postscript() call at the beginning and the
graphics.off() call at the end. Thus the functions as they are will
write to the standard graphics device (X11, motif, whatever).
- Graphics parameters: I did all kinds of things with
margins, axis labels, etc. in par() calls to get the figures
to look the way I wanted them to. I did not reset the graphics
parameters at the end of any of the functions included here, so the
parameters set at the beginning will carry on throughout the S+
session unless changed again. This will not cause a problem in very
many cases,
- Versions: These figures were generated using Version 3.3
of S+, Version 1.0 of S+Wavelets, and Release 2.2 of Nason's
wavethresh software. I don't know how well these functions will work
with older versions.
- Disclaimer: These functions were the ones I used to generate the
figures in the book. I include them here as a supplement to the text,
so that the reader may experiment with them.
I do not provide any warranty that they are suitable for any other
purpose.
- Bug reports, comments, suggestions: Please e-mail me at ogden@stat.sc.edu.
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 7
Chapter 8
Chapter 9
R. Todd Ogden
Last modified: Fri Dec 20 10:30:38 CDT