performs the scatter diagrams of the projection of a vector basis.
s.arrow(dfxy, xax = 1, yax = 2, label = row.names(dfxy),
clabel = 1, pch = 20, cpoint = 0, boxes = TRUE, edge = TRUE, origin = c(0,0),
xlim = NULL, ylim = NULL, grid = TRUE, addaxes = TRUE, cgrid = 1,
sub = "", csub = 1.25, possub = "bottomleft", pixmap = NULL,
contour = NULL, area = NULL, add.plot = FALSE)
The matched call.
a data frame containing the two columns for the axes
the column number of x in dfxy
the column number of y in dfxy
a vector of strings of characters for the point labels
if not NULL, a character size for the labels used with par("cex")*clabel
if cpoint
> 0, an integer specifying the symbol or the single character to be used in plotting points
a character size for plotting the points, used with par("cex")*cpoint
. If zero, no points are drawn.
if TRUE, labels are framed
a logical value indicating whether the arrows should be plotted
the fixed point in the graph space, by default c(0,0) the origin of axes. The arrows begin at cent
.
the ranges to be encompassed by the x-axis, if NULL they are computed
the ranges to be encompassed by the y-axis, if NULL they are computed
a logical value indicating whether a grid in the background of the plot should be drawn
a logical value indicating whether the axes should be plotted
a character size, parameter used with par("cex")*cgrid
, to indicate the mesh of the grid
a string of characters to be inserted as legend
a character size for the legend, used with par("cex")*csub
a string of characters indicating the legend position ("topleft", "topright", "bottomleft", "bottomright")
an object 'pixmap' displayed in the map background
a data frame with 4 columns to plot the contour of the map : each row gives a segment (x1,y1,x2,y2)
a data frame of class 'area' to plot a set of surface units in contour
if TRUE uses the current graphics window
Daniel Chessel
s.arrow(cbind.data.frame(runif(55,-2,3), runif(55,-3,2)))
Run the code above in your browser using DataLab