[R] identifying what labels have been created in a plot

2009-01-30 Thread Dennis Fisher
Colleagues R 2.8.0; OS X, Vista, Ubuntu Linux In some instances, when I create a graphic using plot(XVAR, YVAR), it would be valuable to know the values that R will display on the y-axis (e.g., if the range of data is 0-70, it might display 0, 10, 30, 50, 70). Is there a simple means to

Re: [R] identifying what labels have been created in a plot

2009-01-30 Thread jim holtman
It might be easier to generate the plot without the y-axis and then add you data with 'axis' using whatever tick marks you want. On Fri, Jan 30, 2009 at 11:51 AM, Dennis Fisher fis...@plessthan.com wrote: Colleagues R 2.8.0; OS X, Vista, Ubuntu Linux In some instances, when I create a

Re: [R] identifying what labels have been created in a plot

2009-01-30 Thread Marc Schwartz
on 01/30/2009 10:51 AM Dennis Fisher wrote: Colleagues R 2.8.0; OS X, Vista, Ubuntu Linux In some instances, when I create a graphic using plot(XVAR, YVAR), it would be valuable to know the values that R will display on the y-axis (e.g., if the range of data is 0-70, it might display 0,

Re: [R] identifying what labels have been created in a plot

2009-01-30 Thread David Winsemius
You might want to look at the pretty function. The code that I have seen often calls that function for the creation of axis tick levels with min and max as arguments. And its help page suggests that axTicks may give you exactly what you were seeking. -- David Winsemius On Jan 30, 2009, at