Question 0) Draw a line
Answer)
x<-c(1,2,3)
plot(x,type="l")
Question 1) Draw a histogram
Answer)
x<-c(1,2,3)
plot(x,type='h')
Question 2) Plot both line and points with graph and axes names
Answer)
plot(zcoll, type="b", main="NSE", xlab="Time", ylab="Value")
Question 3) Plot a scatter graph
Answer)
plot(zcoll1,zcoll,main="NSE",xlab="High",ylab="Low")
Question 4) Get maximum from "Max" column and minimum from "Min" column
Answer)





No comments:
Post a Comment