[R] plot with no tick marks

Prof Brian D Ripley ripley at stats.ox.ac.uk
Sun Sep 23 08:27:25 CEST 2001


On Sat, 22 Sep 2001, Faheem Mitha wrote:

>
> Sorry, it seems the address has changed since I last used it. Hope you
> don't get duplicates.                               Faheem.
>
> ---------- Forwarded message ----------
> Date: Sat, 22 Sep 2001 23:05:33 -0400 (EDT)
> From: Faheem Mitha <faheem at email.unc.edu>
> To: r-help at stat.math.ethz.ch
> Subject: plot with no tick marks
>
>
> Dear R people,
>
> I have the following simple bit of code to make a plot. I want to suppress
> tick marks on the axes of the plot. I've been trying everything I can
> think of to do so, but have been unsuccessful. Can you help me? If you
> reply, please cc me, I'm not currently subscribed to the list.
>
> Thanks in advance.
>
>                               Sincerely, Faheem Mitha.
>
>
> num <- 1:i
> inc <- num/i
> x <- qnorm(inc)
> y <- sort(rnorm(num))
> postscript(file="nqplot.eps",width=6,height=4,bg="white",
>   horizontal=FALSE,paper="special",onefile=FALSE,fg="black",
>            family="Bookman")
> plot.default(x,y)
> dev.off()

Try plot(x, y, tcl=0)

tck=0 will also work. See ?par.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list