I have a problem with presenting a plot. I have the following data:
data := {74.69, 45.47, 42.45, 54.54, 36.04, 31.76, 33.95}
and plot it simply as
ListPlot[data, AxesOrigin -> {0, 0}]
Now, if I would add Filling->Bottom the data points are connected to the x-axis via vertical lines. I want to do the same, only to have the points connected to y-axis via horizontal lines. Any ideas?




data2 = Transpose[{data, Range[Length[data]]}]– Bob Hanlon Aug 15 '16 at 15:40MapIndexed:MapIndexed[{#1, First@#2} &, data] // ListPlot // horizontalListPlotFill– Jason B. Aug 15 '16 at 15:44Sequencehere? A List works as well apparently, and I like the idea of directives such asOpacity[0.3]being restricted anyway. – Mr.Wizard Aug 15 '16 at 18:22