You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
png(filename="plot2.png") ## Open image for saving
## Combine Date + Time and plot over it
plot(as.POSIXct(paste(dat$Date, dat$Time), format="%d/%m/%Y %H:%M:%S"), dat$Global_active_power, main="Global Active Power through time", xlab="", ylab="Global Active Power", type="l")