New Reply

Data format AFTER import into Mathematica from Excel.xls worksheet

 
Share Thread
Jul17-12, 12:08 AM   #1
 

Data format AFTER import into Mathematica from Excel.xls worksheet


.
I have a large Excel worksheet (200 columns, 4,000 rows). Every column has a unique and carefully chosen title/label.

I'm attempting to use it within Mathematica to create a large number of contour plots (1,000) -- using three columns at a time, for x, y, z.

The import, I suppose, occurs. At least it appears to have.

Here's the question:

-- Is Mathematica using my column titles, so that I can refer to them in commands subsequent to import?

-- If not, is there any format I can put my data into to begin with so that Mathematica will readily recognize my named columns?


I certainly wanted to be getting on with the contour plots (SmoothDensityHistogram), but am having trouble getting my data into the required form.

Any help appreciated.

Nicholas Kormanik
nkormanik@gmail.com

.
PhysOrg.com science news on PhysOrg.com

>> City-life changes blackbird personalities, study shows
>> Origins of 'The Hoff' crab revealed (w/ Video)
>> Older males make better fathers: Mature male beetles work harder, care less about female infidelity
Jul17-12, 12:35 PM   #2
 
Mathematica is very likely not using your Excel column titles, but we cannot see your code so we cannot be absolutely certain.

If you would be willing to generate a small sample Excel sheet (and save it in an old .XLS format rather than any of the newer formats that some of us don't have a version of Excel new enough to read) with the same number of columns and titles and perhaps half a dozen or a dozen rows

AND create a small simple version of your Mathematica notebook that shows how you are currently importing your Excel sheet and how you would like to refer to your Excel column names when using the data in a contour plot and describes as clearly as possible what you want to see. If you want to generate thousands of contour plots then this should probably include just enough information so that someone can understand how the notebook needs to be able to do that. These last parts don't necessarily need to work, but they need to communicate clearly enough that someone with Mathematica experience can understand what they need to write for you.

THEN someone might be able to take a few minutes and see if they can find a way to fiddle the notebook contents to make it do what you want.
New Reply

Tags
data editing

Similar discussions for: Data format AFTER import into Mathematica from Excel.xls worksheet
Thread Forum Replies
EXCEL - Binary to Decimal Worksheet Engineering, Comp Sci, & Technology Homework 1
Import and plot multiple data sets in Mathematica Math & Science Software 14
Excel/Mathematica Extracting Data with a twist! Math & Science Software 2
Mathematica Import Function Math & Science Software 7
Sort and format a protected Excel worksheet with a macro Computing & Technology 0