For Programmers: Free Programming Magazines  


Home > Archive > Mathematica > October 2006 > Importing data Question









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Importing data Question
ouadad

2006-10-30, 7:43 pm

I want to plot four graphs. The element set of each graph is of a different length. The values are in a single file which I import into Mathematica. However, when I go to plot them, Mathematica tags blank entries on to the smaller sets. For example, i
f I have four sets of 10, 20, 30, 40 elements, Mathematica will add blank entries of 30, 20 and 10 to the first three sets.

Anyone know how to fix this very simple request?

David Bailey

2006-10-30, 7:43 pm

ouadad wrote:
> I want to plot four graphs. The element set of each graph is of a different length. The values are in a single file which I import into Mathematica. However, when I go to plot them, Mathematica tags blank entries on to the smaller sets. For example,

if I have four sets of 10, 20, 30, 40 elements, Mathematica will add blank entries of 30, 20 and 10 to the first three sets.
>
> Anyone know how to fix this very simple request?
>

Hello,

You will have to provide more details if you want an answer to this. Was
the file a text file - if so can you paste it into the reply. Did you
Import using Table format? Did you examine what you had imported as an
expression before plotting it.

David Bailey
http://www.dbaileyconsultancy.co.uk

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com