Plot different signals in a single plot using days as reference on the x-aixs
Afficher commentaires plus anciens
I need to plot (two months days/60 days data) many signals in one graph, for example: 1st signal has 50,000 data points for 2 months, 2nd signal has 30,000 data points for 2 months, 3rd signal has 4,000 data points for 2 months, so on and so forth...
http://i.imgur.com/A1eB4rY.png from the figure, some of the signals falling shorter than the one has more data points. So it plots against the data points but I need to plot against day as a reference, please provide me a suggestions on this, thanks in advance
Réponse acceptée
Plus de réponses (1)
dpb
le 13 Août 2014
Convert the dates to Matlab datenum, plot against them and use datetick to create the time-basis x-axis.
Examples are in doc's for
doc datenum % and friends
doc datetick
1 commentaire
Ramas Sami
le 15 Août 2014
Catégories
En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!