Using DataRange to manually specify the domain of the data in ListPlot

The disadvantage of this approach is that the data range is not known to the plot, and it has to be entered by the user manually. If the data itself changes, the plot will still assume these manual numbers, even if the domain is now much larger (consider expanding the above table to run from 0 to 20).

Embedding the data range into the list

Disadvantage: the DataRange option is only useful for a couple of functions. When you're planning to further modify the data, you will always have to pay attention that data doesn't save the data on the first level, but on the second one of this nested list.

Incorporating the x values when generating the data

data = Table[{2 Pi x, Sin[2 Pi x]}, {x, 0, 1, 0.05}];
ListPlot[data]

The disadvantage of this approach is of course a more complicated list structure, as well as about twice the amount of data.

If you know that the data is at equidistant places, you could just make a two-component list: data={Table[Sin[x],{x,0,2 Pi,Pi/10}],DataRange->{0,2 Pi}} and then ListPlot[data[[1]], data[[2]]] or even just ListPlot@@data.
–
celtschkFeb 10 '12 at 16:35

@celtschk Thanks, I included it in my answer.
–
DavidFeb 10 '12 at 17:30

Mathematica is a registered trademark of Wolfram Research, Inc. While the mark is used herein with the limited permission of Wolfram Research, Stack Exchange and this site disclaim all affiliation therewith.