Aesthetics
SVG as character string
Specify rendered width and/or height. If only one of these values
is specified, then the other will be scaled to keep he aspect ratio.
If neither value is specified (the default) then dimensions will be taken from the
SVG itself. This value could be used to increase the resolution of the SVG so it
does not appear blurry once rendered to an element in the plot e.g. svg_width = 1000
The justification of the SVG's bounding rectangle relative to its (x,y) position. Default value of 0.5 mean to centre the SVG at the specified location. Standard values for these variables are in the range [0,1]
Absolute positioning within the panel. Default: NULL means that the standard x,y positioning is to be used. Standard values for these variables are in the range [0,1]
geom_point_svg(
mapping = NULL,
...,
data = NULL,
stat = "identity",
position = "identity",
na.rm = FALSE,
show.legend = NA,
inherit.aes = TRUE,
defaults = list()
)
see
documentation for ggplot2::geom_point()
named list of default values for new aesthetics
Set `options(GGSVG_DEBUG = TRUE)` for some verbose debugging which will cause `ggsvg` to output (to the console) the final SVG for each and every element in the plot.
ggplot2 layer object