[R] plotting help request II

Greg Snow Greg.Snow at imail.org
Tue Jan 8 21:54:38 CET 2008


?par look at xaxt
?axis

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
(801) 408-8111
 
 

> -----Original Message-----
> From: r-help-bounces at r-project.org 
> [mailto:r-help-bounces at r-project.org] On Behalf Of bunny , 
> lautloscrew.com
> Sent: Tuesday, January 08, 2008 1:35 PM
> To: r-help at stat.math.ethz.ch
> 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 at 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.
> 




More information about the R-help mailing list