Re: [R] print numbers

2010-08-16 Thread array chip
Marc, this works perfectly! Thanks John - Original Message From: Marc Schwartz To: William Dunlap Cc: array chip ; r-help@r-project.org Sent: Mon, August 16, 2010 3:23:33 PM Subject: Re: [R] print numbers Bill et al, See ?axTicks plot(3^(0:5), 0:5, log="x",

Re: [R] print numbers

2010-08-16 Thread Marc Schwartz
m: r-help-boun...@r-project.org >> [mailto:r-help-boun...@r-project.org] On Behalf Of array chip >> Sent: Monday, August 16, 2010 2:54 PM >> To: Wu Gong; r-help@r-project.org >> Subject: Re: [R] print numbers >> >> Thank you all for the suggestions. They all work

Re: [R] print numbers

2010-08-16 Thread William Dunlap
> -Original Message- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of array chip > Sent: Monday, August 16, 2010 2:54 PM > To: Wu Gong; r-help@r-project.org > Subject: Re: [R] print numbers > > Thank you all for the sugg

Re: [R] print numbers

2010-08-16 Thread array chip
- Original Message From: Wu Gong To: r-help@r-project.org Sent: Mon, August 16, 2010 2:41:51 PM Subject: Re: [R] print numbers Hi John, formatC will do your work. Hope it helps. x <- y <- c(50.00,25.00,10.00,1.00,0.05,0.01) plot(x,y,log = "xy",axes = F) axis(1, x, format

Re: [R] print numbers

2010-08-16 Thread Wu Gong
Hi John, formatC will do your work. Hope it helps. x <- y <- c(50.00,25.00,10.00,1.00,0.05,0.01) plot(x,y,log = "xy",axes = F) axis(1, x, formatC(x)) axis(2, y, formatC(y)) Regards, Wu - A R learner. -- View this message in context: http://r.789695.n4.nabble.com/print-numbers-tp2327378p

Re: [R] print numbers

2010-08-16 Thread Henrique Dallazuanna
Try this: x <- c(50,25,5,1,.1,.05) prettyNum(x) On Mon, Aug 16, 2010 at 4:53 PM, array chip wrote: > Hi, > > When I plot, the axis ticks are printed as "50.00 25.00 10.00 1.00 0.05 > 0.01", is there any way to print them as "50 25 10 1 0.05 0.01" > instead? > > Thanks > > John > > _

Re: [R] print numbers

2010-08-16 Thread jim holtman
but it's manual work - plot by plot. Any other suggestions? > > Many thanks > > John > > > > - Original Message > From: David Winsemius > To: array chip > Cc: R-Help > Sent: Mon, August 16, 2010 1:19:57 PM > Subject: Re: [R] print numbers > > &

Re: [R] print numbers

2010-08-16 Thread David Winsemius
On Aug 16, 2010, at 4:33 PM, array chip wrote: sorry that I didn't give more details, thought it's going to be the same for all plots. It's the bxp() for boxplot. I have about couple of 10 such plots in a for() loop, so would like to automate the process. Using "labels= " certainly works,

Re: [R] print numbers

2010-08-16 Thread array chip
work - plot by plot. Any other suggestions? Many thanks John - Original Message From: David Winsemius To: array chip Cc: R-Help Sent: Mon, August 16, 2010 1:19:57 PM Subject: Re: [R] print numbers On Aug 16, 2010, at 3:53 PM, array chip wrote: > Hi, > > When I plot, the

Re: [R] print numbers

2010-08-16 Thread David Winsemius
On Aug 16, 2010, at 3:53 PM, array chip wrote: Hi, When I plot, the axis ticks are printed as "50.00 25.00 10.00 1.00 0.05 0.01", is there any way to print them as "50 25 10 1 0.05 0.01" instead? No example, so we don't even know which of the three plotting paradigms you might

[R] print numbers

2010-08-16 Thread array chip
Hi, When I plot, the axis ticks are printed as "50.00 25.00 10.00 1.00 0.05 0.01", is there any way to print them as "50 25 10 1 0.05 0.01" instead? Thanks John __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-hel