matlab中画垂线

bnd1就是垂线的横坐标

plot([bnd1 bnd1],[1 ny],'g');

hold on;

注意g后面不要加'.'点

你可能感兴趣的:(matlab,plot)