Convert Time (UT to LT)...
Show older comments
Dear All,
I have a data in UT and now I convert it to LT, where LT for each data has a different value (+3,-5,+12,..). Ultimately I want to highlight day and night. I want all of the panel start from 0-24 LT or perhaps 0 become a center and night and day right and left.
Would you please advice me in this regards?
Thanks,
A
6 Comments
James Tursa
on 16 Mar 2017
Please show a small example of inputs and desired output.
John D'Errico
on 16 Mar 2017
Why not help people? Instead of assuming that everyone knows what UT and LT stands for as abbreviations, tell us. Help those who might help you.
James Tursa
on 16 Mar 2017
UT = Universal Time
LT = Local Time
James Tursa
on 16 Mar 2017
Again, it would help a lot if you showed a small example with actual numbers. Show us the exact inputs and the desired output.
Ara
on 17 Mar 2017
Answers (1)
Peter Perkins
on 16 Mar 2017
0 votes
It sounds like you have "hour numbers". Use datetimes. Support for time zones is built in, and simple line plots will just work (plotting support increased in R2016b, not sure what you are using).
3 Comments
Ara
on 17 Mar 2017
Peter Perkins
on 20 Mar 2017
I'd have to see a concrete example of what you currently have, and what the problem is.
James Tursa
on 20 Mar 2017
I've been asking for this since the 16th ...
Categories
Find more on Shifting and Sorting Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!