Thanks for the suggestion. But my example is just an example, I would prefer to have some generalized solution, like what options(scipen=4) does in general graphics, which usually gave pretty axis labels as well.
Any suggestions? Thanks John ________________________________ From: Henrique Dallazuanna <www...@gmail.com> 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) >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) doesn't work on xyplot() > >Thanks > >John > >______________________________________________ >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. > -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O [[alternative HTML version deleted]]
______________________________________________ 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.