symbolize: Convert a Picture into a Grid Grob

Description Usage Arguments Value Author(s) See Also

Description

Converts an entire "Picture" object, or a path element thereof, into an appropriate grid grob. Not usually called directly by the user; usually called by grid.picture.

Usage

1
2
symbolize(object, x = unit(0.5, "npc"), y = unit(0.5, "npc"),
          size = unit(1, "npc"), units = "npc", ...)

Arguments

object

A "Picture" object.

x

A numeric vector or unit object specifying x-values.

y

A numeric vector or unit object specifying y-values.

size

A numeric vector or unit object specifying symbol size.

units

The default units to use if x, y, or size are specified as simple numeric values.

...

Arguments passed on to the relevant grid grob constructor function.

Value

A grid gTree (when given a whole "Picture") or a "symbolFill" or "symbolStroke" object (when given a single picture path).

Author(s)

Paul Murrell

See Also

grid.picture and symbolize


grImport documentation built on Nov. 16, 2021, 3 a.m.