Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

PLTcirc

Circle Plot with Cross Hairs


Description

Plot an arc of a circle with cross-hairs.

Usage

PLTcirc(gcol = "black", border = "black", ndiv = 36,
         angs = c(-pi, pi), PLOT = TRUE, add = FALSE)

Arguments

gcol

cross hairs color

border

border color

ndiv

number of divisions

angs

vector from angs[1] to angs[2] in radians

PLOT

logical, if TRUE plot

add

logical, if TRUE add to existing plot

Value

list used for plotting:

x

x coordinates

y

y coordinates

phi

angles, radians

Author(s)

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

Examples

PLTcirc(gcol = "purple", border = "black", ndiv = 36, angs = c(-pi, pi), PLOT = TRUE, add = FALSE)

PLTcirc(gcol = NULL, border = "green" , ndiv = 36, angs = c(-pi/4, pi/4), PLOT = TRUE, add = TRUE)

RFOC

Graphics for Spherical Distributions and Earthquake Focal Mechanisms

v3.4-6
GPL (>= 2)
Authors
Jonathan M. Lees [aut, cre], Keehoon Kim [ctb]
Initial release
2018-01-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.