I have a question about plot. Plesase help me.
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Nguyen Trong Nhan
am 20 Dez. 2013
Kommentiert: Nguyen Trong Nhan
am 20 Dez. 2013
I want to draw a line x = a perpendicular to the x axis in matlab. How do I do ? (with a = constant) value y from 3 to 5.
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 20 Dez. 2013
Bearbeitet: Azzi Abdelmalek
am 20 Dez. 2013
s=get(gca,'ylim')
hold on;
plot([a a],s)
2 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!