brydustin
Mar14-11, 12:22 PM
Suppose that I had a set of Y points Y = {y1,y2,.....yN} and I want to plot them again a set X = {1,2,3,.....,N}
Naturally, I would like to do something like:
YX = { {y1, 1} , {y2,2} , ..... , {yN,N} }
followed by
ListPlot[YX,PlotJoined->True]
My question is: How can I construct YX in a very simple manner?
Naturally, I would like to do something like:
YX = { {y1, 1} , {y2,2} , ..... , {yN,N} }
followed by
ListPlot[YX,PlotJoined->True]
My question is: How can I construct YX in a very simple manner?