drawBars {PBSmodelling}R Documentation

Draw a Linear Barplot on the Current Plot

Description

Draws a linear barplot on the current graph.

Usage

drawBars(x, y, width, base = 0, ...)

Arguments

x x-coordinates
y y-coordinates
width bar width, computed if missing
base y-value of the base of each bar
... further graphical parameters (see 'par') may also be supplied as arguments

Examples

plot(0:10,0:10,type="n")
drawBars(x=1:9,y=9:1,col="deepskyblue4",lwd=3)

[Package PBSmodelling version 0.60 Index]