MATLAB: Plot vertical lines from a point to x-axis

plotting

I would like to plot veritcal lines in the xy-plane, from a given point down to the x-axis.
I have looked around, but I can find anything that solves my problem.

Best Answer

Use a stem plot.