On 10/07/2009 01:05 AM, Ashta wrote:
Days<- matrix(c("Monday", "Tuesday", "Wed", "Thu", "Fri", "Sat",
"Sun"),7,1)
Hum<-matrix(c(56,57,60,75,62,67,70),
Temp<-matrix(c(76,77,81,95,82,77,83),
Hi Ashta,
Are you looking for something like this:
dht<-data.frame(
Days=c("Mon","Tue","Wed","Thu","Fri","Sat","Sun"),
Hum=c(56,57,60,75,62,67,70),
Temp=c(76,77,81,95,82,77,83))
plot(dht$Hum,main="Temperature x Humidity plot",
xlab="Day of week",ylab="Humidity",xaxt="n",type="n")
text(1:7,dht$Hum,dht$Temp)
axis(1,at=1:7,labels=dht$Days)
Jim
______________________________________________
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.