init: Initiate a geoplot (??)

Description Usage Arguments Value Note See Also

View source: R/init.R

Description

Initiate a geoplot (??).

Usage

1
2
3
4
5
6
7
init(lat, lon = 0, type = "p", pch = "*", xlim = c(0, 0), ylim = c(0,
  0), b0 = 65, r = 1.05, xlab = "Longitude", ylab = "Latitude",
  option = "cut", grid = T, new = F, cont = F, cex = 0.7, col = 1,
  lcont = c(0.13, 0.21), plotit = T, reitur = F, smareitur = F,
  reittext = F, axratio = 1, lwd = 0, axlabels = T, oldpar,
  projection = "Mercator", b1 = 65, dlat = 0, dlon = 0, command = 0,
  jitter = 0, xaxdist, yaxdist)

Arguments

lat,lon

Latitude and longitude

type

Plot method

pch

Plot character

xlim,ylim

Plot limits

b0

Base latitude

r

Plot ratio, multiplier on diff(x_or_ylim)

xlab,ylab

Labels for x- and y-axes, default "Longitude", "Latitude"

option

Method of determining plot extent, default "cut"

grid

Should a grid be drawn, default TRUE

new

Plot control, default FALSE adds plot to current plot

cont

For use with contours: should space be reserved for contour labels? Default FALSE

cex

Character size expansion

col

Color, default 1, usually black

lcont

Contour lable space allocation, default c(0.13, 0.21)

plotit

If FALSE plot is only initialized but not plotted. If used other programs are used to fill the plot (geolines, geocontour, geopolygon etc). Most often used in multiple plots.

reitur

Should the grid be that of statistical rectangles?

smareitur

Should the grid be that of statistical sub–rectangles?

reittext

Should the rectangles be labelled?

axratio

Parameter usually not changed by the user.

lwd

Line width

axlabels

If FALSE no numbers are plotted on the axes. Default value is TRUE.

oldpar

The old par–list, from the parent geoplot–call

projection

Projection, default Mercator

b1

Second latitude for Lambert projection

dlat,dlon

Defines the grid, to make a grid on the axes, 1 is a number on axis and a line at every deg. Not usualy set by user.

command

The parent geoplot command is included, although for what purpose isn't quite clear??

jitter

Random jitter to accentuate repeated values. Default no jitter (jitter = 0)

xaxdist,yaxdist

Distance from plot to the labels on axes (dist or r argument to geoaxis). Default values 0.2, 0.3 but higher values mean that axlabels are further away from the plot. Further flexibility with axes can be reached by calling geoplot with axlabels = FALSE and geoaxis aferwards.

Value

No value, side effect plotted.

Note

Needs further elaboration, alternatively hide the function.

See Also

Called by geoplot calls Elimcomp, findline, geoaxis, gridaxes, gridaxes.Lambert, invProj, Proj.


geo documentation built on May 29, 2017, 5:36 p.m.