[R] print numbers

array chip arrayprofile at yahoo.com
Mon Aug 16 22:33:48 CEST 2010


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, but it's manual work - plot by plot. Any other suggestions?

Many thanks

John



----- Original Message ----
From: David Winsemius <dwinsemius at comcast.net>
To: array chip <arrayprofile at yahoo.com>
Cc: R-Help <r-help at stat.math.ethz.ch>
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 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 be using, but if these are base graphics perhaps something along ht elines 
of:

  ... , labels =c("50",  "25",  "10",  "1",  "0.05",  "0.01"), ...

--David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list