wall.ade: Plot templates (wall)

View source: R/wall.ade.R

wall.adeR Documentation

Plot templates (wall)

Description

A function to make look a like templates of plots for different wall parameters.

Usage

wall.ade(vnames=NULL, main=NULL, xlab=NULL, ylab=NULL, glab=NULL,
         legendon="topright", xlim=NULL, ylim=NULL, lwd=1, pch=16, lty=1,
         xticks=NULL, yticks=NULL, col=NULL, tcol=NULL, bgcol=NULL, lcol=NULL,
         wall=0, v=NULL, h=NULL)

Arguments

vnames

a vector of character strings with labels in the legend

main

an overall title for the plot

xlab

a title for the x axis

ylab

a title for the y axis

glab

a title of the legend

legendon

a single keyword from:

  • "bottomright"

  • "bottom"

  • "bottomleft"

  • "left"

  • "topleft"

  • "top"

  • "topright"

  • "right"

  • "center"

This places the legend on the inside of the plot frame at the given location. To locate 2 legends you can give a vector of 2 keywords.

xlim

the x limits (x1, x2) of the plot

ylim

the y limits (y1, y2) of the plot

lwd

the line width

pch

character or symbol in the legend

lty

the line type

xticks

the number of ticks on the x axis or a vector of exact ticks

yticks

the number of ticks on the y axis or a vector of exact ticks

col

a vector of colors for the points in the legend

tcol

color of the text in whole plot

bgcol

the background color for plot dekoration

lcol

color for the lines in plot, a vector of colors is possible

wall

a number between 0 and 6 for selection the dekoration style of the plot.

v

the x-value(s) for vertical line(s).

h

the y-value(s) for horizontal line(s).

See Also

scatter.ade

Examples

par(ask=TRUE)
wall.ade(vnames=c('blue', 'red'), wall=0, main='Template of wall 0', xlab='x', ylab='y')
wall.ade(vnames=c('blue', 'red'), wall=1, main='Template of wall 1', xlab='x', ylab='y')
wall.ade(vnames=c('blue', 'red'), wall=2, main='Template of wall 2', xlab='x', ylab='y')
wall.ade(vnames=c('blue', 'red'), wall=3, main='Template of wall 3', xlab='x', ylab='y')
wall.ade(vnames=c('blue', 'red'), wall=4, main='Template of wall 4', xlab='x', ylab='y')
wall.ade(vnames=c('blue', 'red'), wall=5, main='Template of wall 5', xlab='x', ylab='y')
wall.ade(vnames=c('blue', 'red'), wall=6, main='Template of wall 6', xlab='x', ylab='y')

epade documentation built on Oct. 29, 2022, 1:14 a.m.