library(ggthemr) library(scales) library(ggplot2) B6 = read.csv('B6x.csv',header=F) B6$V2 = as.POSIXct(B6$V2, format="%d/%m/%Y %H:%M:%S") B7 = read.csv('B7x.csv', header =F) B7$V2 = as.POSIXct(B7$V2, format="%d/%m/%Y %H:%M:%S") B0 = cbind(B6,B7) B0 = B0[c(2,3,6)] head(B0) pdf('test.pdf', width=16.53, height=11.69) ggthemr('pale') ggplot(B0, aes(V2)) + geom_line(aes(y=V3, colour = "B6"), size=0.25) + geom_line(aes(y=V3.1, colour = "B7"), size=0.1) + ggtitle("Title") + xlab("Date")+ ylab("Temperature (°C)")+ scale_y_continuous(breaks=seq(12,36,1))+ scale_color_manual(values=c("#053fff", "#ff7605")) dev.off()