[R] Getting tick positions

Mulholland, Tom Tom.Mulholland at dpi.wa.gov.au
Thu Feb 24 01:32:15 CET 2005


?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-----
> From: fls [mailto:fls at fls.org.au]
> Sent: Thursday, 24 February 2005 7:08 AM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Getting tick positions
> 
> 
> 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 elegant way 
> to determine the tick positions on an axis? Thanks.
> 
> Jim
> 
> (normally bitwrit at ozemail.com.au - my modem is toast)
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list