waimen
hold on;
ylim=get(gca,\'Ylim\'); % 获取当前图形的纵轴的范围
plot([4,4],ylim,\'m--\'); % 绘制x=4的直线
hold off;

分类:

技术点:

相关文章: