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