R/PLOTplane.R

PLOTplane <-
function(Rp, planecol="brown")
      {
        if(missing(planecol)) {  planecol="brown"  }
        points(Rp[,1], Rp[,2], pch=21, col='red', bg='yellow')

        segments(Rp[1,1],Rp[1,2], Rp[2,1],Rp[2,2], col=planecol)
        segments(Rp[2,1],Rp[2,2], Rp[3,1],Rp[3,2], col=planecol)
        segments(Rp[3,1],Rp[3,2], Rp[1,1],Rp[1,2], col=planecol)
      }

Try the geophys package in your browser

Any scripts or data that you put into this service are public.

geophys documentation built on May 1, 2019, 9:26 p.m.