'Special grid' on a plot
显示 更早的评论
Hi, I have to draw a 'special grid' on a plot of a signal. Specifically, I need one vertical line after 8s and one 10s after the first (and then periodically in this order: 8s,10s,8s,10s etc etc..) How can I do this? I tried to use meshgrid but without results.
Thank you!
1 个评论
dpb
2016-10-30
Note the location in a time vector of some number of seconds will be
ix=round(T/dt);
where T is the set of desired times and dt the sample rate...
回答(1 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!