I have a matrix with three variables Row = Time, column = Date and the third variable Money which its value is an intersection of rows and columns. e.g. For Time = 5
and Date = 10
, Money is 12 and for Time = 6
and Date = 15
, Money is 15. I would like to draw the value of Money for the intersection of x_axis = Time
and Y_axis = Date
.
How to place Money in below?
plot.new()
matplot(Time,Date, type = "p", lty = 1:5, lwd = 1, lend = par("lend"),col = 1,
pch = 17 , xlab = "Time", ylab = "Date", xlim = range(0,40), ylim = range (0,120))