I hope someone on this list can help me here. I am a complete matplotlib and python novice, so please forgive me if it is a rather simple question.

I am trying to plot markers in matplotlib. I have values at x at which they should appear, but that is it. The y value of them should just be an arbitrary value (for example 0).

Here is an example of the data

2.10686

4.21443

5.01784

6.20608

6.32343

6.44145

6.77794

...

..

.

I can load the data with

reflections_1=numpy.loadtxt("list.txt")

phase_1=reflections_1[:,0]

What is the best way of now plotting this (as single vertical marker lines)?

I thought of using the quiver function, but cannot get this to work.

Any help appreciated.

Thanks

Adrian