This question already has an answer here:
- How to add a vertical line to a plot 7 answers
I have a list of numbers which I have named "result" and which I modify according to certain rules. At the end of the routine, I plot the list with the command:
ListPlot[result, PlotRange -> Automatic]
I would like to add the horizontal line y=1 (in red) to my plot. Is there a simple way to modify the previous command in order to attain such an effect?
Thanks a bunch for your insightful replies!