pack.svg: pack svg

Description Usage Arguments Value Examples

Description

pack svg

Usage

1
2
pack.svg(width = 1200, height = 800, output.svg.name = NULL,
  pack.content = pack.content)

Arguments

width

a number, width of the plot

height

a number, height of the plot

output.svg.name

a character, the output svg file name

pack.content

a character or a list, group content

Value

the characher type of svg element

Examples

1
2
3
4
5
pack.svg(pack.content = "<text x=\"10\" y=\"20\"> this is a svg element </text>")
pack.content <- list(svg1 = "<text x=\"10\" y=\"20\"> this is a svg element </text>",
                     svg2 = "<text x=\"10\" y=\"40\"> this is a svg element </text>")
pack_info <- pack.svg(pack.content = pack.content)
message(pack_info)

ytdai/easySVG documentation built on May 29, 2019, 12:18 p.m.