Matt Kurbat asks:
> -----Original Message-----
> From: Kurbat, Matt [mailto:Matt.Kurbat@kmv.com]
> Sent: Wednesday, June 19, 2002 2:58 PM
> To: s-news@lists.biostat.wustl.edu
> Subject: [S] simple plot question
>
>
> Dear Splus Users,
>
> I would like to make a plot with no numbers on the x-axis at all
> (but with numbers on the y-axis). For example, I've tried the
> following, but it does not suppress numbers on the x-axis:
>
> xSeq<-1:8
> ySeq<-1:8
> plot(xSeq,ySeq)
> axis(1, ticks=F)
>
> Does anyone have a suggestion?
[WNV] Try something like
plot(xSeq, ySeq, axes = F, xlab = "")
axis(1, at = xSeq, tck = 0, labels = rep("", length(xSeq)))
axis(2)
box() # optional
> Thank you for your help.
>
> Best Regards,
>
> Matt Kurbat
>
> --------------------------------------------------------------------
> This message was distributed by s-news@lists.biostat.wustl.edu. To
> unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
> the BODY of the message: unsubscribe s-news
|