stressSETUP: Setup Stress Box

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Setup default stress box, plane information and normal vector 3d plotting glyph

Usage

1
stressSETUP(P1=c(.2, 1,1,0 ), P2=c(1, .1,1,0), P3=c(1, 1,.4,0), xscale=30)

Arguments

Arguments are optional

P1

4-vector, point 1

P2

4-vector,point 2

P3

4-vector,point 3

xscale

scale factor for plotting

Details

Initialize the stress set up.

Value

List:

xscale

arbitrary scale

Rview

viewing rotation matrix

BOX

Box coordinates, scaled

AX

XYZ Axis coordinates

Rbox

rotated box

Rax

XYZ rotated axes

PPs

Points along the Box axes

Rp

rotated points

aglyph

3D glyph for plotted norm

Author(s)

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

See Also

stress, PLOTbox, PLOTplane, NORMvec

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
S = stressSETUP()
pstart()

PLOTbox(S$Rax, S$Rbox, axcol= 'green', boxcol= 'purple')

pstart()

PLOTplane(S$Rp, planecol="brown")
PLOTbox(S$Rax, S$Rbox, axcol= 'green', boxcol= 'purple')


NORMvec(S$PPs, S$xscale, S$Rview, S$aglyph, add=TRUE)


Search within the geophys package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.