pystem: Plot stem plot using pyplot

Description Usage Arguments Examples

Description

Plot stem plot using pyplot

Usage

1
pystem(x, y = NULL, args = NULL, show = FALSE)

Arguments

x

numeric vector containing the x coordinates of points

y

numeric vector containing the y coordinates of points

args

character string of further arguments passed to the **kwargs argument of matplotlib.pyplot.scatter

show

bool indicating whether to open a window with the plot

Examples

1
2
3
4
x = seq(0, pi, length=20)
pystem(x, sin(x))
if(interactive())
   pyshow()

mpastell/Rpyplot documentation built on May 23, 2019, 6:27 a.m.