Adding vertical line to graph
显示 更早的评论
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

采纳的回答
更多回答(1 个)
madhan ravi
2019-1-3
编辑:madhan ravi
2019-1-3
1 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!