Rug plot in 1d using the grid package
rug_1d_grid(
zargs,
loc = 0.5,
length = 0.5,
width = 0.001,
col = par("fg"),
draw = FALSE,
...
)
argument list as passed from zenplot()
location in [0,1]; 0 corresponds to left, 1 to right (in the direction of the path)
length of the rugs
line width of the rugs
default color of the rectangles/rugs
logical indicating whether drawing should take place
additional arguments passed to gpar()
grob (invisibly)
The choice of width and height is to leave the rugs enough space to not touch points (so to avoid points and rugs overplotting).
Other default 1d plot functions using the grid package:
arrow_1d_grid()
,
boxplot_1d_grid()
,
density_1d_grid()
,
hist_1d_grid()
,
jitter_1d_grid()
,
label_1d_grid()
,
lines_1d_grid()
,
points_1d_grid()
,
rect_1d_grid()
Other default 1d plot functions:
arrow_1d_graphics()
,
arrow_1d_grid()
,
arrow_1d_loon()
,
boxplot_1d_graphics()
,
boxplot_1d_grid()
,
boxplot_1d_loon()
,
density_1d_graphics()
,
density_1d_grid()
,
density_1d_loon()
,
extract_1d()
,
hist_1d_graphics()
,
hist_1d_grid()
,
hist_1d_loon()
,
jitter_1d_graphics()
,
jitter_1d_grid()
,
jitter_1d_loon()
,
label_1d_graphics()
,
label_1d_grid()
,
label_1d_loon()
,
lines_1d_graphics()
,
lines_1d_grid()
,
lines_1d_loon()
,
points_1d_graphics()
,
points_1d_grid()
,
points_1d_loon()
,
rect_1d_graphics()
,
rect_1d_grid()
,
rect_1d_loon()
,
rug_1d_graphics()
,
rug_1d_loon()