home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / sci / math / symbolic / 2988 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  2.6 KB

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