MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Plotting from a file

  • To: mathgroup at
  • Subject: [mg33108] Plotting from a file
  • From: "SuneF" <noluck at>
  • Date: Sun, 3 Mar 2002 06:30:32 -0500 (EST)
  • Sender: owner-wri-mathgroup at


I have this output file of floating point data from a C program.
It is all printed in 1.435664334e-013 notation, 7 columns in total.

When I import with:
it doesn't understand the exponential notation.
It's printing the whole file (huge file by the way) below the command and
only a handfull of the floats seem to be understood correctly as 1.333^10-13.
If I print the numbers as 0.00000001234 then mathematica understands, 
but this is not ideal, obviously.

Also, later when it works I need to plot the columns, something like
you know, plot the second column.
The code doesn't work, mathematica doesn't take arrays like that, not sure why.

I'm very confused about why mathematica have both lists, arrays and matrices, 
I don't know what to work with in this case. 

Is it possible to declare a datatype like in C++ ?
I like to know what I'm working with, call it force of habbit ;)


  • Prev by Date: Quirk in MathLink for Excel
  • Next by Date: Re: kernel running programs
  • Previous by thread: RE: Quirk in MathLink for Excel
  • Next by thread: Re: Plotting from a file