The size of loon
is determined by pixel (px), while, in
grid
graphics, the size is determined by pointsize (pt)
Usage
as_grid_size(
size,
type = c("points", "texts", "images", "radial", "parallel", "polygon", "lines"),
adjust = 1,
...
)
Arguments
- size
input
loon
size- type
glyph type; one of "points", "texts", "images", "radial", "parallel", "polygon", "lines".
- adjust
a pixel (px) at 96
DPI
(dots per inch) is equal to 0.75 point. However, for different machines, theDPI
is slightly different. Argumentadjust
is used to twist the size. IT IS A HACK and should be removed in the later version.- ...
some arguments used to specify the size, e.g.
pch
for "points",ratio
for "image" andp
for "parallel".