Use the no axis setting for the first plot using:
plot(,xaxt="n")
this specifying "n" suppresses the axis. Then plot the correct axis in the
second step using
axis()
for these issues always check whether ?par yields what you need.
hth,
jens
-----Original Message-----
From: gov2001-l-bounces at
lists.fas.harvard.edu [mailto:gov2001-l-
bounces at
lists.fas.harvard.edu] On Behalf Of Keith Schnakenberg
Sent: Sunday, May 04, 2008 10:56 PM
To: gov2001-l at
lists.fas.harvard.edu
Subject: [gov2001-l] tick labels on plots
I have made a confidence interval plot using plot.ci in Zelig. I am
using an 4-level ordered variable on the x axis, and I want the tick
labels to give "Excellent", "Good", "Fair",
"Poor" rather than
1,2,3,4. I told R the following:
plot.ci(peconsim, CI = 95, qi = "ev", axes=FALSE, main = "", xlim =
NULL, ylim = NULL, col="black")
axis(side=1, at=seq(1,4,1), paste(c("Excellent", "Good",
"Fair",
"Poor"), seq(1,4,1)))
This puts the values in the right places, but it just places them
over top of the numbers. How do I make the numbers go away and just
display the words as tick labels?
Thanks,
Keith
_______________________________________________
gov2001-l mailing list
gov2001-l at
lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l