'Special grid' on a plot
Show older comments
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 Comment
dpb
on 30 Oct 2016
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...
Answers (1)
Riccardo Brambilla
on 30 Oct 2016
Categories
Find more on Annotations 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!