How to draw multiple constant lines?
Ältere Kommentare anzeigen
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]);
Akzeptierte Antwort
Weitere Antworten (1)
Yasuyuki Hamanaka
am 29 Mai 2021
Bearbeitet: Yasuyuki Hamanaka
am 29 Mai 2021
3 Kommentare
Cris LaPierre
am 29 Mai 2021
It works in R2021a, as you can see. What version of MATLAB are you using?
Yasuyuki Hamanaka
am 29 Mai 2021
Katherine Zheng
am 24 Feb. 2022
I am using R2021a, but still have this issue. ?
Kategorien
Mehr zu Entering Commands finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
