Hello,

I had a question about how to label a axis of a plot.

for example, my plot is

>plot(1:100, axes=F)
>box()
>axis(1)

then, I want my y-axis has six ticks ( at=seq(0,100,10)) , but I don't want
to label all the 11 ticks, I only want to label the 1st, 3rd, 5th, 7th and
11th ticks. But the code axis(), always need the length of the "labels" and
"at" be equal, and not allow label partially.

Could anyone help me?  Thank you!

Yan

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to