[R] Getting tick positions

2005-02-23 Thread fls
While writing a function that includes placing grid lines at the same position as the axis ticks, I found that the axis* functions don't return anything. Thus I have had to copy the appropriate function, removing the call to axis() and adding a line to return the tick positions. Is there a more

Re: [R] Getting tick positions

2005-06-21 Thread Paul Murrell
Hi Uwe Ligges wrote: > Jim Lemon wrote: > >> Thanks for the answers - I should have been more specific as I had >> already tried axTicks and pretty. >> >> The function in question is gantt.chart() in the latest plotrix >> package (Thanks to Scott Waichler for the original code). I settled on

Re: [R] Getting tick positions

2005-02-23 Thread Adaikalavan Ramasamy
Which plotting function are you using ? I think most of plotting can accept xaxt="n" which is the command to supress the x-axis. If this works, at least you do not have to redefine the function. Examples plot(1:10, xaxt="n") hist( rnorm(100), xaxt="n" ) boxplot( rnorm(10), rnorm(10), rnorm(10)

RE: [R] Getting tick positions

2005-02-23 Thread Mulholland, Tom
Tom > -Original Message- > From: fls [mailto:[EMAIL PROTECTED] > Sent: Thursday, 24 February 2005 7:08 AM > To: r-help@stat.math.ethz.ch > Subject: [R] Getting tick positions > > > While writing a function that includes placing grid lines at > the same position &g

RE: [R] Getting tick positions

2005-02-26 Thread Jim Lemon
Thanks for the answers - I should have been more specific as I had already tried axTicks and pretty. The function in question is gantt.chart() in the latest plotrix package (Thanks to Scott Waichler for the original code). I settled on axis.POSIXct as it seemed the most appropriate for this fun

Re: [R] Getting tick positions

2005-02-27 Thread Uwe Ligges
Jim Lemon wrote: Thanks for the answers - I should have been more specific as I had already tried axTicks and pretty. The function in question is gantt.chart() in the latest plotrix package (Thanks to Scott Waichler for the original code). I settled on axis.POSIXct as it seemed the most appropr