Importing Vector Graphics: The grImport Package for R

被引:0
作者
Murrell, Paul [1 ]
机构
[1] Univ Auckland, Dept Stat, Auckland, New Zealand
来源
JOURNAL OF STATISTICAL SOFTWARE | 2009年 / 30卷 / 04期
关键词
PostScript; R; statistical graphics; XML;
D O I
暂无
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
This article describes an approach to importing vector-based graphical images into statistical software as implemented in a package called grImport for the R statistical computing environment. This approach assumes that an original image can be transformed into a PostScript format (i.e., the opriginal image is in a standard vector graphics format such as PostScript, PDF, or SVG). The grImport pack-age consists of three components: a function for converting PostScript files to an R-specific XML format; a function for reading the XML format into special Picture objects in R; and functions for manipulating and drawing Picture objects. Several examples and applications are presented, including annotating a statistical plot with an imported logo and using imported images as plotting symbols.
引用
收藏
页码:1 / 37
页数:37
相关论文
共 24 条
  • [1] *AD SYST, 1999, POSTS LANG REF
  • [2] *AD SYST, 2005, PDF REF VERS 1 6
  • [3] BAH T, 2008, PIXMAP BITMAP IMAGES
  • [4] Bah T., 2011, Inkscape: guide to a vector drawing program
  • [5] Bray T., 2006, Extensible Markup Language (XML) 1.1 Specification, V2nd
  • [6] Clark James, 1999, Xsl transformations (xslt)
  • [7] WebLogo: A sequence logo generator
    Crooks, GE
    Hon, G
    Chandonia, JM
    Brenner, SE
    [J]. GENOME RESEARCH, 2004, 14 (06) : 1188 - 1190
  • [8] Ferraiolo Jon., 2003, SCALABLE VECTOR GRAP
  • [9] KYLANDER OS, 1999, GIMP OFFICIAL HDB
  • [10] LANG DT, 2008, XML TOOLS PARSING GE