It's hard to answer without evidence, but there are some ideas to get you started.
, x, temp id , .
set.seed(1)
df<-data.frame(x=1:100,temp=runif(100,10,50),id=sample(1:3,100,replace=TRUE))
geom_tile() y 0 id fill=. , . , geom_tile() y.
ggplot(df,aes(x))+geom_line(aes(y=temp))+
geom_tile(aes(y=0,fill=factor(id)))
- geom_bar() stat="identity" y , . width= , , .
ggplot(df,aes(x))+geom_line(aes(y=temp))+
geom_bar(aes(y=4,fill=factor(id)),stat="identity",width=1)

UPDATE - OP
, .
df<-read.table(text="datetime,temp_int,hum_int,dpv
2014-02-15 00:00:00,67.2,13.6,red
2014-02-15 00:15:00,63.4,13.8,yellow
2014-02-15 00:30:00,61.2,14.2,green
2014-02-15 00:45:00,60.4,14.5,green",header=T,sep=",")
datetime POSIXct.
df$datetime <- as.POSIXct(df$datetime)
.
library(reshape2)
df.melt<-melt(df,id.vars=c("datetime","dpv"))
. colour= aes() geom_line(), ggplot(). geom_bar() dpv fill=, scale_fill_identity(), dpv . , , width=900. 900, 15 , 900 ( 1 ).
ggplot(df.melt, aes(x = datetime, y = value)) +
geom_line(aes(colour = variable),size=1.9) +
geom_bar(aes(y=4,fill=dpv),stat="identity",width=900)+
scale_fill_identity()
