Make the grob of a plot
.makeGrob(
x,
featureType,
plotValues,
scaleValues,
plotParams,
rows = rows,
cols = cols,
theme = gtTheme
)
the object to transform to class grob
.
the type of feature to make a grob from.
the plot values.
the scale values.
new plotting parameters specified
via the quick options in visualise
.
in case it's a grid, the number of rows.
in case it's a grid, the number of cols.
the theme from which to take parameters.
Depending on the provided geometry either a pointsGrob
,
a polylineGrob
, a pathGrob
or a
rasterGrob
.