home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!cs.uoregon.edu!news.uoregon.edu!news.uoregon.edu!systems
- From: joe@decoy.uoregon.edu (Joe St Sauver)
- Newsgroups: sci.math.symbolic
- Subject: Re: MAPLE: Reading list of points from external file
- Date: 16 Nov 1992 21:22:22 GMT
- Organization: University of Oregon Network Services
- Lines: 58
- Distribution: sci
- Message-ID: <1e93eeINNj59@pith.uoregon.edu>
- References: <ROSE.92Nov10172623@t524i5.telematik.informatik.uni-karlsruhe.de>
- NNTP-Posting-Host: decoy.uoregon.edu
-
- In article
- <ROSE.92Nov10172623@t524i5.telematik.informatik.uni-karlsruhe.de>
- rose@t524i5.telematik.informatik.uni-karlsruhe.de (Ortwin Rose) writes:
- > Hi,
- >
- > I am a newcomer to MAPLE, so please be patient if this is a FAQ:
- >
- > I have a list of points generated by another program, and would
- > like to create a three-dimensional plot of the surface using
- > MAPLE. Now, I did NOT find a solution to read these points from
- > an external file into a list of points that can be used by
- > "plots[pointplot]" within MAPLE! Since this is quite an easy
- > task, I am quite sure that such a solution does exists. Any
- > pointers how to proceed are appreciated!
-
- Ortwin,
-
- I am currently confronting a comparable problem -- I have a user with
- huge matrices which he needs to manipulate.
-
- In *Mathematica*, he just says something like:
-
- r200=ReadList["covar-arma12.dat", Table[Real,{200}]];
-
- and bang, there he goes -- Mathematica constructs a 2-dee matrix
- like nobody's business.
-
- In *SAS/IML*, he just says:
-
- data rs;
- infile 'covar-arMA12.dat';
- input r1-r200 @@;
- proc iml;
- use rs; read all var _ALL_ into r200;
-
- and off he goes -- happy as a clam.
-
- But, after extensively searching the new Springer Verlag Maple V
- manual set, let me refer you to section 11.8.5 in the Maple V
- Language Reference Manual:
-
- "It is not possible in the present version of Maple to read
- arbitrarily formatted data [from a text file]." (pp. 191)
-
- That, to me, was just inconceivable, particularly for a package
- which goes to some extreme to justify claims that it is a
- "programming language." To me, anything which cannot read data
- from a file in some relatively common format (i.e., free format,
- comma delimited format, fixed format or SOMETHING other than
- Maple-specific statement format) is NOT a programming language.
-
- To say I'm unhappy about this "feature" of Maple V is an
- understatement. If input from text files is possible via some
- trick I'm not aware of, I'd sure like to hear about it.
-
- Joe St Sauver (joe@oregon.uoregon.edu)
- Assistant Director, Academic User Services
- University of Oregon Computing Center
-