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-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

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-23 Thread Mulholland, Tom
?axis where you will find See Also: 'axTicks' returns the axis tick locations corresponding to 'at=NULL'; 'pretty' is more flexible for computing pretty tick coordinates and does _not_ depend on (nor adapt to) the coordinate system in use. Tom > -Original Message- >

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)