Message-ID: <4010173D.9040509@yale.edu>
Date: 2004-01-22T18:32:29Z
From: ivo welch
Subject: Axes Ticks
Apologies, basic question on plot.
y <- c(-4,3,-2,1);
x <- c("time 1", "time 2", "time 3", "time 4");
plot(x,y, type="b");
of course fails.
x <- 1:4
makes it succeed, but then I have too many ticks on my X axis. I want
exactly 4 tickmarks. It would also be nicer if I could name the ticks.
I looked at ?par and Venables&Ripley, and tried the lab and xaxp
parameters. I could not figure out how to use them productively. could
someone please let me know? help appreciated. /iaw