Displaying 5 results from an estimated 5 matches for "groby".
Did you mean:
roby
2009 Jun 23
2
curvedarrow (some graphics problem)
Hi there,
I just wonder how to draw this kind of picture...
http://www.nabble.com/file/p24158796/b.jpg
http://www.nabble.com/file/p24158796/a.jpg
and this is what i have done
%%%%%
library(shape)
library(diagram)
curve(sin(x),bty="n",-8,8,yaxt="n",ylab="",xaxt="n",type="n",xlab="")
axis(1,labels=F,at=seq(-8,8,1))
2011 Feb 15
1
gList and gTree methods of grid::grobX
...nit(0.8,"npc"),
height=unit(2,"cm")),
circleGrob(r=0.3))
## loop over angles to map the boundary
gtheta <- function(g, theta){
sapply(theta, function(.t){
gx <- convertX(grobX(g, .t), "npc")
gy <- convertY(grobY(g, .t), "npc")
c(gx,gy)
})
}
angles <- seq(0,360,by=30)
p1 <- gtheta(g1, angles)
grid.newpage()
grid.draw(g1)
grid.points(p1[1,],p1[2,], gp=gpar(cex=0.2),
default.units="npc")
If I'm not mistaken, neither gList nor gTree seem to produc...
2009 Apr 15
1
savePlot error when type = "eps" or "wmf"
Hello,
When I use savePlot(filename="xy",type="eps") or
savePlot(filename="xy",type="wmf") , I get the following error:
Error in grid.Call("L_textBounds", as.graphicsAnnot(x$label), x$x, x$y, :
Polygon edge not found (zero-width or zero-height?)
This doesn't occur when I change the type to "jpeg" or "bmp". Can
2008 Sep 15
2
Drawing curves
Hi,
Am looking for an R package that will provide the drawing of curves and
arcs of arbitrary shapes to use in illustrations. For example bent lines
and arrows.
Allan.
2007 Aug 05
1
Any "special interest" in R/pic interface?
Hi Folks,
I'm wondering if there are people out there who would
be interested in what would be involved in developing
an interface between R graphics and the 'pic' language.
Explanation; 'pic' has been part of the Unix 'troff'
typesetting suite since very early days (1970s), and also
of the GNU troff: 'groff'. Its function is to act as a
preprocessor,