[R] plot Ticks
John Kane
jrkrideau at yahoo.ca
Tue Jan 27 15:26:14 CET 2009
Will something like this do what you want?
x <- 1:10
y=rnorm(10)
plot(x,y,xaxt="n")
axis(1,at= seq(.5,10,.5))
--- On Tue, 1/27/09, mauede at alice.it <mauede at alice.it> wrote:
> From: mauede at alice.it <mauede at alice.it>
> Subject: [R] plot Ticks
> To: r-help at stat.math.ethz.ch
> Received: Tuesday, January 27, 2009, 9:13 AM
> 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.
__________________________________________________________________
[[elided Yahoo spam]]
More information about the R-help
mailing list