Re: Importing external grid file to do contour plot
- To: mathgroup at smc.vnet.net
- Subject: [mg13057] Re: Importing external grid file to do contour plot
- From: Hans Staugaard Nielsen <hsn at mi.aau.dk>
- Date: Sat, 4 Jul 1998 16:45:00 -0400
- Organization: Departments of Mathematical Sciences, University of Aarhus
- References: <6nc6vu$fbb@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Sophie Hon wrote:
>
> I'm trying to read an outside grid file into Mathematica in order to do
> a contour plot. It's a 50 by 50 grid, so that the data is arranged as
> 50 strings of 50 numbers.
> Here is what I have so far, which I know does not work:
>
> ReadList["Macintosh HD:Mathematica 3.0 Files:fish:aqc.grd",
> Array[Number,{50,50}]]
>
> I would appreciate your help very much. Sincerely,
> Sophie Hon.
Try
ReadList["Macintosh HD:Mathematica 3.0 Files:fish:aqc.grd",
Table[Number,{50}]]