From murdoch at stats.uwo.ca  Sat Mar 21 11:57:20 2009
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Sat, 21 Mar 2009 06:57:20 -0400
Subject: [Rd] minor tick marks for plots (PR#13616)
In-Reply-To: <20090320190014.D61922834316@mail.pubhealth.ku.dk>
References: <20090320190014.D61922834316@mail.pubhealth.ku.dk>
Message-ID: <49C4C810.6030406@stats.uwo.ca>

On 20/03/2009 3:00 PM, wiese at gfz-potsdam.de wrote:
> Hello,
> 
> I think I found a bug:
> 
>  > windows(1,width = 10, height = 10, pointsize = 5,xpos = 0, ypos = 0 )
>  > hdata[1:3,1] <- c(1,10,15)
>  > hdata[1:3,2] <- c(2,1,4)
>  > plot(hdata[,1],hdata[,2],xaxt="n")
>  > axis(1,at=c(2,10,14))
>  > minor.tick(nx=2, ny=1,tick.ratio=1)
> 
> the minor tick marks appear between the tick marks which would have been 
> drawn without the option xaxt="n".
> 

minor.tick is not a base R function, so this is not an R bug, if it's a 
bug at all.  There's a function by that name in the Hmisc package, but 
you don't give enough information (e.g. printing sessionInfo()) so I 
can't tell if that's the one you used.

Duncan Murdoch



[Rd] minor tick marks for plots (PR#13616)
Duncan Murdoch