How to draw x=2 line using plot command
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to draw the vertical line x=2. I want to draw it by using plot command in x-y plane, x-is the horizontal axis. How to draw it?
I do not want to use the following
line([2 2], [0 10])
to draw a line from (2,0) to (2,10)
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 15 Feb. 2013
Bearbeitet: Azzi Abdelmalek
am 15 Feb. 2013
plot([2 2], [0 10])
%or maybe you want
plot([2 2],ylim)
0 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!