I have time in hours, for 7days, I want to plot two variable parameters in y axis and the time in days in x axis. How do i plot ?? I have problems converting hours to days along x axis.
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I need to plot time given in 2nd column along x axis versus wind from 6th column and pressure from 5th colum along y1 and y2 axes. Please help.
0 Commenti
Risposta accettata
dpb
il 8 Apr 2015
Convert the time in hours to date numbers for the actual times (or use a reference arbitrary start time) and plot versus it. Then format the x axis with
datetick('x','keeplimits')
and format as desired.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Dates and Time in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!