I have a question about plot. Plesase help me.
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Azzi Abdelmalek
2013-12-20
编辑:Azzi Abdelmalek
2013-12-20
s=get(gca,'ylim')
hold on;
plot([a a],s)
2 个评论
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!