How to draw multiple constant lines?
显示 更早的评论
I want to draw multiple constant lines in a figure. I coded below using xline() and yline() refering Vertical line with constant x-value - MATLAB xline (mathworks.com). But it doesn't work. Would you tell me what is wrong?
xline([1,2,3]);
采纳的回答
更多回答(1 个)
Yasuyuki Hamanaka
2021-5-29
编辑:Yasuyuki Hamanaka
2021-5-29
3 个评论
Cris LaPierre
2021-5-29
It works in R2021a, as you can see. What version of MATLAB are you using?
Yasuyuki Hamanaka
2021-5-29
Katherine Zheng
2022-2-24
I am using R2021a, but still have this issue. ?
类别
在 帮助中心 和 File Exchange 中查找有关 Entering Commands 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
