Displaying 1 result from an estimated 1 matches for "arrowimage".
2012 Nov 22
1
How to read jpeg image with russian font in R?
...t russian text is not visible
on pdf. How can i fix my pblm?
Regards <http://r.789695.n4.nabble.com/file/n4650417/pointer.jpg>
library(JPEG)
library(grid)
pdf("out.pdf" , width = 6.6 ,height = 4.2,family= "URWHelvetica",
encoding="KOI8-R")
a<-readJPEG("ArrowImage") # name of arrow
grid.newpage()
pushViewport(viewport(width=0.9, height=0.9))
pushViewport(viewport(yscale=c(0,0), xscale=c(0,1), x=0, y=0, width=0.15,
height=1.0, just=c("left", "bottom")))
grid.raster(a, y=unit(ypos.img, "native"))
popViewport()
popView...