stemplot: Stem Plot

Description Usage Arguments Details See Also Examples

Description

Receives a vector of x and y values and plots a stemplot (line and "points").

Usage

1
stemplot(x, y, pch = 16, linecol = 1, linew = 1, ...)

Arguments

x

vector of x axis points

y

vector of y axis points

pch

plot character default = 19

linecol

default line color = 1 (black)

linew

default line width = 1

...

graphical environment parameters are input to stemplot

Details

#' Reference: M, Pastell, http://www.r-bloggers.com/matlab-style-stem-plot-with-r

See Also

Other rwireless: eyediagram, f16pskdemod, f16pskmod, f16qamdemod, f16qammod, f64qamdemod, f64qammod, f8pskdemod, f8pskmod, fNo, fbpskdemod, fbpskmod, fqpskdemod, fqpskmod, iqdensityplot, iqscatterplot

Examples

1
2
3
x <- seq(-3*pi, 3*pi, by = 0.2)
y <- sinc(x)
stemplot(x/pi,y,ylim=c(-0.3,1.1), pch=19, cex=0.3, ylab="y", xlab="x/pi")

algutier1/rwirelesscom documentation built on May 12, 2019, 10:06 a.m.