You are on page 1of 1

library(lattice)

library(ggplot2)
library(epicalc)
zap()
setwd("D:/QE DATA/Pekanbaru Pollution")
climate<- read.csv("PKU iklim.csv")
use(climate)
des(climate)
head(climate)
op<- par(mfrow=c(1,1))
opar<-par(no.readonly = TRUE)
par(mar=c(5, 4, 4, 6) + 0.1)
Month <- as.Date(DATE, format="%d-%b-%y")
Month
plot(Month,Avg.Prec,type="l",pch=1,lty=1,col="blue", xlab = "", ylab="",main="The
yearly fluctuation of avereage preciptation\
in Pekanbaru District, Riau Province from 2014 to 2016")
mtext("Precipatition records (ml)",side=2,line=2.5)

plot(Month,Avg.Temp,type="l",pch=1,lty=1,col="blue", xlab = "", ylab="",main="The


yearly fluctuation of avereage temperature\
in Pekanbaru District, Riau Province from 2014 to 2016")
mtext("temperature (C)",side=2,line=2.5)

plot(Month,Avg.Hum,type="l",pch=1,lty=1,col="blue", xlab = "", ylab="",main="The


yearly fluctuation of avereage Humid\
in Pekanbaru District, Riau Province from 2014 to 2016")
mtext("Humidrecords (ml)",side=2,line=2.5)

plot(Month,sunshine,type="l",pch=1,lty=1,col="blue", xlab = "", ylab="",main="The


yearly fluctuation of sunshine hour\
in Pekanbaru District, Riau Province from 2014 to 2016")
mtext("sunshine records (hour)",side=2,line=2.5)

plot(Month,Avg.windspeed,type="l",pch=1,lty=1,col="blue", xlab = "",


ylab="",main="The yearly fluctuation of average wind speed\
in Pekanbaru District, Riau Province from 2014 to 2016")
mtext("average wind speed (knot)",side=2,line=2.5)

You might also like