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 rwirelesscom functions: eyediagram; f16pskdemod; f16pskmod; f16qamdemod; f16qammod; f64qamdemod; f64qammod; f8pskdemod; f8pskmod; fNo; fbpskdemod; fbpskmod; fqpskdemod; 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")

rwirelesscom documentation built on April 14, 2017, 2:22 p.m.