ellipseGrob: ellipseGrob

Description Usage Arguments Value See Also Examples

View source: R/ellipseGrob.r

Description

an ellipse grob

Usage

1
2
3
  ellipseGrob(x, y, size = 1, angle = rep(pi/2, length(x)),
    ar = 1, gp = gpar(colour = "grey50", fill = "grey90"),
    default.units = "native", size.units = "mm")

Arguments

x

x unit

y

y unit

size

size

angle

angle

ar

aspec ratio

gp

gpar

default.units

default units

size.units

size units

Value

grob

See Also

Other grob userlevel: arcTextGrob, barbedGrob, borderGrob, colorstripGrob, ebimageGrob, interleaven, ngonGrob, patternGrob, pixmapGrob, rpatternGrob, stextGrob, tableGrob, virtualGrob

Examples

1
2
3
g = ellipseGrob(1:10/11,1:10/11,size=5,ar=1:5,angle=rnorm(10),
                def="npc", gp=gpar(fill=grey(1:10/11)))
grid.draw(g)

ttriche/oldGridExtra documentation built on May 27, 2017, 4:47 p.m.