Skip to contents

Compute or draw rough points

Usage

rough_points(x, y = NULL, hand = NULL)

draw_rough_points(x, y = NULL, hand = NULL, ...)

Arguments

x, y

Point coordinates as for graphics::points().

hand

Hand-drawn geometry settings created with hand().

...

Graphics parameters passed to graphics::points().

Value

A list with jittered x and y point locations.

Examples

plot(1:10, 1:10, type = "n")
draw_rough_points(1:10, 1:10,
                  hand = human_hand(),
                  pch = 16, cex = 1.4)