Lines plot in 1d using the grid package

lines_1d_grid(
  zargs,
  loc = c(0.5, 0.5),
  length = 1,
  arrow = NULL,
  draw = FALSE,
  ...
)

Arguments

zargs

argument list as passed from zenplot()

loc

(x,y)-location in [0,1]^2; 0 corresponds to left, 1 to right (in the direction of the path)

length

length of the line (in [0,1])

arrow

list describing the arrow head

draw

logical indicating whether drawing should take place

...

additional arguments passed to gpar()

Value

grob (invisibly)

Author

Marius Hofert and Wayne Oldford