svg_coords: svg coordinates from x,y coordinates

Description Usage Arguments See Also

View source: R/transform_pt.R

Description

translates coordinate reference space into svg space.

Usage

1
2
svg_coords(x, y = NULL, xlim, ylim = NULL, view.bounds, log = "",
  as.crd = TRUE)

Arguments

x

location of x coordinate

y

location of y coordinate

xlim

limits of x coordinate reference

ylim

limits of y coordinate reference

view.bounds

a named vector of x,y,width, and height

log

a character of ”, 'x', or 'xy' (only ” is currently supported)

as.crd

boolean for passing result to as.crd

See Also

dim_coords


jread-usgs/dinosvg documentation built on May 20, 2019, 10:46 a.m.