legend.locate {RGeoS}R Documentation

Legend Position

Description

Calculates or asks the user to designate the legend location

Usage

legend.locate(pos.legend=0, x=NA, y=NA, prop = NA)

Arguments

pos.legend

Location of the Legend inset map in the graphic window:

  • 0 : The legend is not represented

  • 1 : Lower left corner

  • 2 : Upper left corner

  • 3 : Upper right corner

  • 4 : Lower right corner

  • 5 : Location is defined by picking the opposite corners on the graphic window

x,y

Vectors specifying the coordinates of the opposite corners of the rectangle containing the legend.

prop

A vector of two elements giving the proportions along X and Y of the legend within the figure.

Value

A list containing the vectors "x" and "y" which give the coordinates of the two opposite corners of the legend.


[Package RGeoS version 9.1.1 Index]