add function vline

from MathWork central to plot vertical lines