Can you exclude dates in date range using xlim?
显示 更早的评论
I have a dataset where the x axis is time and the y axis is sound pressure level in dB. The data is recorded continuously on a 24hr cycle, but I'm not interested in the data collected at night. Is there a way to exclude this data using xticks or xlim?
At the moment I have:
xlim([start_dt, end_dt]); %filter to date range of interest
Would the best way to address this be to replace sd with multiple datetime ranges somehow to exclude the evening data? I'm not sure how to code this?
4 个评论
Sulaymon Eshkabilov
2021-10-21
With xticks() and xticklabels(), you can show any values you'd need to display.
Louise Wilson
2021-10-21
KSSV
2021-10-21
While plotting itself, you take the required data and plot.
Louise Wilson
2021-10-21
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Polar Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

