How to create static vertical line in plotting window
Show older comments
Hi there,
I'm very new to matlab, so this might be super easy. I want to create a static vertical line in the middle of a graph so that when I pan the graph, the line stays in the same place in the plotting window. Ideally, the line would stay in the middle of the plotting window as I pan the graph (so not xline). This would allow me to look at two graphs, side by side, and know which points correlate with eachother. Is there any easy way to do this? I have tried to look it up but no luck. Thanks for any help!
Accepted Answer
More Answers (1)
Devon Fisher-Chavez
on 9 Jan 2020
0 votes
1 Comment
Meg Noah
on 9 Jan 2020
I shared a project that does two graphs on one plot here:
Categories
Find more on Axes Appearance 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!