Draw vertical lines on a plot
Show older comments
Hi,
I have a plot and I want to draw several vertical lines (about 40 of them) at specific locations on the plot. How do I go about it? Any code that I can put all those locations in and automatically mark those regions of the plot with vertical lines for me? Thanks!
Accepted Answer
More Answers (1)
the cyclist
on 3 Dec 2019
0 votes
2 Comments
Curious Mind
on 3 Dec 2019
Luna
on 3 Dec 2019
Check my answer above, I made a sample plot for your case.
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!