how to plot verticle lines?
1 view (last 30 days)
Show older comments
Jens Petit-jean
on 30 Nov 2020
Commented: Jens Petit-jean
on 30 Nov 2020
Hello,
How do I plot vercicle lines that go up to y-value 10?
thanks in advance
0 Comments
Accepted Answer
John D'Errico
on 30 Nov 2020
Edited: John D'Errico
on 30 Nov 2020
Plot two points, connected by a line. Both points will have the same value for x. You can choose the start and end point in y to plot. Don't use a marker. WTP?
Or, you could use the function xline.
More Answers (0)
See Also
Categories
Find more on Line Plots 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!