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.
Solution: main=HMF -> main="HMF" -- View this message in context: http://r.789695.n4.nabble.com/plot-generates-graph-with-coordinantes-written-over-it-tp3350024p3350163.html Sent from the R help mailing list archive at Nabble.com.
Dennis Murphy
2011-Mar-12 13:13 UTC
[R] plot generates graph with coordinantes written over it
Hi: The value of your title is a(n attached) data frame - perhaps you meant 'HMF' instead... HTH, Dennis On Sat, Mar 12, 2011 at 2:41 AM, derek <jan.kacaba@gmail.com> wrote:> 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. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]
Reasonably Related Threads
- [PATCH v3] virtio_blk: Fix a slient kernel panic
- [PATCH v3] virtio_blk: Fix a slient kernel panic
- Solving a tridiagonal system
- [PATCH] virtio: Return correct errno for function init_vq's failure
- [PATCH] virtio: Return correct errno for function init_vq's failure