Learn R Programming

TauP.R (version 1.5)

polaraxis: Polar Plot Axis

Description

Writes a circular 'theta' axis around a polar plot.

Usage

polaraxis(rp = 6371, at = 0:17 * 20)

Arguments

rp

Plot radius

at

Angles to label (degrees)

Value

None; graphical side effects only.

See Also

PolarPlot

Examples

Run this code
# NOT RUN {
# Borrowed from Earthplot:

par(mar = c(1.1,1.1,4.1,1.1))
plot(0,type='n',xlim = 1.15 * c(-6271, 6371),ann=FALSE,axes=FALSE,asp=1)

PolarPlot(0:360,6371,type='l',method=lines,degree=TRUE,geographical=TRUE,col='black')

polaraxis(6371)
 


# }

Run the code above in your browser using DataLab