Adding vertical line to graph
Show older comments
Hello,
I'm trying to present a vertical line to my graph as you can see below but I don't get the curve of the vetical line

Accepted Answer
More Answers (1)
madhan ravi
on 3 Jan 2019
Edited: madhan ravi
on 3 Jan 2019
1 vote
Save the variable in each iteration and plot it outside the loop , you seem to be overwriting them so finally you try to plot a point . Upload your code if you are not able to figure it out.
1 Comment
ferdaous abderrazak
on 3 Jan 2019
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!