How to plot a second axis with vectors of different length?
Mostra commenti meno recenti
I want to create a plot with 3 time series. First DO with values starting from 1998 to 2012 and for secondary axis two other time series (lets call them F and D) which only have values for 1991, 2001, 2006 and 2011. It should look like this (I can do it in excel but not in Matlab):

I tried
plotyy
function but it gave me error for not having same vector length. What can I do? Thanks
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Two y-axis in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!