Added option to exclude horizontal lines in plot