dot-makeGrob: Make the grob of a plot

.makeGrobR Documentation

Make the grob of a plot

Description

Make the grob of a plot

Usage

.makeGrob(
  x,
  window,
  layout,
  featureType,
  plotValues,
  scaleValues,
  plotParams,
  rows = rows,
  cols = cols,
  theme = gtTheme
)

Arguments

x

the object to transform to class grob.

window

data.frame(2)
in case the reference window deviates from the bounding box of crds, specify here the minimum and maximum values in columns x and y.

layout

layout to fit the grob into place.

featureType

the type of feature to make a grob from.

plotValues

the plot values.

scaleValues

the scale values.

plotParams

new plotting parameters specified via the quick options in visualise.

rows

in case it's a grid, the number of rows.

cols

in case it's a grid, the number of cols.

theme

geometr theme
the theme from which to take graphical parameters.

Value

Depending on the provided geometry either a pointsGrob, a polylineGrob, a pathGrob or a rasterGrob.


EhrmannS/geometr documentation built on Jan. 31, 2024, 9:13 a.m.