Let's assume I have t
vector= 1:15
and I have two other vectors : X
of size 15, each element of X
relates to the corresponding element (element of same index) in t
; and Y
of size 5, each element of Y
corresponds to t=3,6,9,12,15
.
How can I plot X
and Y
on the same plot w.r.t. t
, though X
and Y
does not have the same length (especially Y
is not of same length as t
)
Thanks