?par look at xaxt ?axis -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] (801) 408-8111
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of bunny , > lautloscrew.com > Sent: Tuesday, January 08, 2008 1:35 PM > To: [EMAIL PROTECTED] > Subject: [R] plotting help request II > > Dear all, > > meanwhile i found out how to handle the coordinate thing and > plot the lines like i like. > the remaining problem is, i need something like names.arg > does in barplot for my plot. > > my plot connects several dots with several lines. and now i > like characters as the names of the intersects of the x-axis. > > > vector1=c(a,b) > vector2=c(c,d) > > # this vector makes sure the yellow line starts at x=2 > x=c(2,3) > > plot(vector,type="b",col="blue",xlim=c(1,4),ylim=c(20,150)) > lines(x,fc,col="yellow") > > does anybody know how to label the x-axis 1st quarter 2nd > quarter 3rd quarter and 4th quarter instead of 1.0 1.5 2.0 > 2.5 and so on ?? > > thx in advance ! > > matthias > > > > > [[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. > ______________________________________________ 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.