Re: [R] axes labeling

2012-12-23 Thread Jim Lemon
On 12/21/2012 07:12 AM, Sam Steingold wrote: * David L Carlson [2012-12-20 13:58:00 -0600]: It is possible, but only by using axis() since you can specify axis breaks in a plot command, but not the labels. You can ignore most of the axis() options so the commands are pretty simple: plot(x=c(1,

Re: [R] axes labeling

2012-12-20 Thread William Dunlap
> myAxis(side=2) # "0k", ..., "800k", "1M" on y axis Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf > Of Sam Steingold >

Re: [R] axes labeling

2012-12-20 Thread Sam Steingold
> * David L Carlson [2012-12-20 13:58:00 -0600]: > > It is possible, but only by using axis() since you can specify axis breaks > in a plot command, but not the labels. You can ignore most of the axis() > options so the commands are pretty simple: > > plot(x=c(1, 100), y=c(1, 100), xlab="x

Re: [R] axes labeling

2012-12-20 Thread David L Carlson
-- David L Carlson Associate Professor of Anthropology Texas A&M University College Station, TX 77843-4352 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Sam S

[R] axes labeling

2012-12-20 Thread Sam Steingold
Is it possible to control formatting of the numbers which go along the axes in plots? e.g. plot(x=1:100,y=1:100) will label the X axis as "0d+00", "2e+05" &c. I want that to read 0, 200k, 400k &c. I know of the function axis(), but it offers far too much control for this simple task. thanks