[R] plot generates graph with coordinantes written over it

derek jan.kacaba at gmail.com
Sat Mar 12 11:41:36 CET 2011


Hello R users, Im having this strange problem.
http://r.789695.n4.nabble.com/file/n3350024/bad2.png 

I have txt file of this format (X.X, Y.Y - random numbers, ...) with data
points:
nm A nm A nm A
X.X Y.Y X.X XX X.X
X.X Y.Y Y.Y Y.Y Y.Y

My script looks like this:

require(graphics)
require(stats)
par(mfrow=c(1,1))
HMF=read.table("D:/BIOTECHLAB1/DATA-zprac/10mg 1-7cp.txt", header = FALSE,
sep = "", dec = ".",fileEncoding = "", encoding = "unknown", skip=19)
attach(HMF)
plot(x=V1,y=V2,type = "l",main = HMF,xlab = substitute(lambda (nm)), ylab
=substitute(A))

R version 2.12.1 x64 (WIN7 x64)


--
View this message in context: http://r.789695.n4.nabble.com/plot-generates-graph-with-coordinantes-written-over-it-tp3350024p3350024.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list