[R] plot Ticks

baptiste auguie ba208 at exeter.ac.uk
Tue Jan 27 15:27:42 CET 2009


Try this:

> plot(1:20)
> axis(3, at=seq(0,20), label=FALSE)


A better description of your plot would be useful if ?axis is not  
enough to help you out.

hope this helps,

baptiste

On 27 Jan 2009, at 14:13, mauede at alice.it wrote:

> Is there a way to force the number of ticks along an axis ?
> I read the on-line documentation and tried many combinations of all  
> available parameters from functions
> par(), axTicks(), axis(), plot() ... but no luck !
>
> Thank you very much,
> Maura
>
>
> tutti i telefonini TIM!
>
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

_____________________________

Baptiste Auguié

School of Physics
University of Exeter
Stocker Road,
Exeter, Devon,
EX4 4QL, UK

Phone: +44 1392 264187

http://newton.ex.ac.uk/research/emag




More information about the R-help mailing list