How to plot three different time series?

Hi, i´m pretty much a newbie in MATLAB and are struggling with how I can plot three different time series, and then provide three additional plots highligthing the dependence with respect to the time to maturity (one for each of three given dates). Someone who knows how I can procide, and which codes i could use?
Thanku so much in advance!

2 Comments

Not sure entirely what you mean, but if you wish to plot three different plots on top of each other you can just use the hold on and hold off function.
e.g.
plot (x,y)
hold on
plot(x1,y1)
plot(x2,y2)
hold off
Yes, Could you provide some more information on the question

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!