Re: [R] scientific vs. fixed notation in xyplot()

2010-09-27 Thread array chip
$at <- log(tick.at, 10) >    ans$bottom$labels$labels <- as.character(tick.at) >    ans } > > xyplot(1:1~1:1, scales=list(log=T),xscale.components = > xscale.components.log10,yscale.components = yscale.components.log10) > > Any suggestions? > > Thanks > > John > > >

Re: [R] scientific vs. fixed notation in xyplot()

2010-09-27 Thread Deepayan Sarkar
labels$at <- log(tick.at, 10) >    ans$bottom$labels$labels <- as.character(tick.at) >    ans } > > xyplot(1:1~1:1, scales=list(log=T),xscale.components = > xscale.components.log10,yscale.components = yscale.components.log10) > > Any suggestions? > > Thanks > > John > >

Re: [R] scientific vs. fixed notation in xyplot()

2010-09-27 Thread array chip
ls$at <- log(tick.at, 10) ans$left$labels$labels <- as.character(tick.at) ans } - Original Message From: array chip To: Don McKenzie ; Henrique Dallazuanna Cc: R-help Forum Sent: Mon, September 27, 2010 3:09:20 PM Subject: Re: [R] scientific vs. fixed notation in xyplot

Re: [R] scientific vs. fixed notation in xyplot()

2010-09-27 Thread array chip
ohn - Original Message From: Don McKenzie To: Henrique Dallazuanna Cc: R-help Forum Sent: Mon, September 27, 2010 1:00:04 PM Subject: Re: [R] scientific vs. fixed notation in xyplot() This is quite elegant (thanks) and brings up a problem I could not solve awhile back, a

Re: [R] scientific vs. fixed notation in xyplot()

2010-09-27 Thread Don McKenzie
This is quite elegant (thanks) and brings up a problem I could not solve awhile back, although Dr. Sarkar did his best to help. How do I do the same thing in a panel plot? e.g., toy example temp.df <- data.frame(X=seq(1,100,by=1),Y=seq(1,50.5,by=.5),class=rep (c("A","B"),each=50)) xyplot(Y ~

Re: [R] scientific vs. fixed notation in xyplot()

2010-09-27 Thread array chip
Dallazuanna Cc: r-help@r-project.org Sent: Mon, September 27, 2010 12:16:31 PM Subject: Re: [R] scientific vs. fixed notation in xyplot() Try this: xyplot(1:10~1:10, scales=list(log = T, labels = round(log(1:10), 4))) Hi I am using xyplot() to plot on the log scale by using scale=list(log=T

Re: [R] scientific vs. fixed notation in xyplot()

2010-09-27 Thread Henrique Dallazuanna
Try this: xyplot(1:10~1:10, scales=list(log = T, labels = round(log(1:10), 4))) On Mon, Sep 27, 2010 at 4:10 PM, array chip wrote: > Hi I am using xyplot() to plot on the log scale by using scale=list(log=T) > argument. For example: > > xyplot(1:10~1:10, scales=list(log=T)) > > But the axis l

[R] scientific vs. fixed notation in xyplot()

2010-09-27 Thread array chip
Hi I am using xyplot() to plot on the log scale by using scale=list(log=T) argument. For example: xyplot(1:10~1:10, scales=list(log=T)) But the axis labels are printed as scientific notation (10^0.0, etc), instead of fixed notation. How can I change that to fixed notation? options(scipen=4) d