[R] eps file not positioned properly in latex document

Faheem Mitha faheem at email.unc.edu
Thu Feb 8 05:23:51 CET 2001

Dear People,

I am trying to include a barplot (see code below), in a latex document.
However, the plot appears in totally the wrong position. I know this is
not an R question as such, but the eps file is produced by R and I thought
that perhaps other people had had similar problems and could give me
pointers. Am I doing anything obviously wrong?

                   Sincerely, Faheem Mitha.

PS. the code I use to include the eps file is 


which seems harmless enough.             Faheem.


roy <- c("white","blue","yellow")
collen <- c(31,33,33)
fmcol <- rep(roy,collen)


barplot(c(0.1,0.2,0.2,0.4,0,0,0,0,0,0,0,0,0,0.1), col=fmcol,
ylim=c(0,0.5),xlab="Values of x",ylab="Probability values",sub=NULL,
style="old",main="Probability Histogram")



r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list