Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'DataRange' topicStudent Support Forum > General > Archives > "DataRange"

Next Comment >Help | Reply To Topic
Author Comment/Response
Atreyu
09/29/12 11:51pm

I've imported a large list of data from Excel into Mathematica (6900 data points). I've been trying to get the DataRange option to work, but it won't for some reason...

Put simply, this is my code:

L=Import["EllipticalGalaxy.xls"][[1]]

ListPlot[L,DataRange->{0,10000}]

Is there something wrong with this code that prevents DataRange from working? The Excel file has 2 columns of numeric data.

The plot works fine, but it actually doesn't plot the full thing unless I write PlotRange->Full.

Any help would be greatly appreciated

URL: ,

Subject (listing for 'DataRange')
Author Date Posted
DataRange Atreyu 09/29/12 11:51pm
Re: DataRange yehuda 10/01/12 11:23am
Next Comment >Help | Reply To Topic