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

  1. Path: sparky!uunet!ogicse!uwm.edu!rpi!sarah!hibrown
  2. From: hibrown@sarah.albany.edu (Herb Brown)
  3. Newsgroups: sci.math.symbolic
  4. Subject: Re: MAPLE: Reading list of points from external file
  5. Message-ID: <1992Nov17.143435.14411@sarah.albany.edu>
  6. Date: 17 Nov 92 14:34:35 GMT
  7. Article-I.D.: sarah.1992Nov17.143435.14411
  8. References: <ROSE.92Nov10172623@t524i5.telematik.informatik.uni-karlsruhe.de> <1e93eeINNj59@pith.uoregon.edu> <CHUCK.92Nov16190416@nimbus.drexel.edu>
  9. Distribution: sci.math.symbolic
  10. Organization: State University of New York at Albany
  11. Lines: 41
  12.  
  13. In article <CHUCK.92Nov16190416@nimbus.drexel.edu> chuck@nimbus.drexel.edu (Wombozni Klik) writes:
  14. >
  15. >We here at Drexel are trying to do the same thing, that is, read in a
  16. >set of data points from an external file. 
  17. >Our idea (obviously not the best, but it could work) is to alter
  18. >whatever program we're using to generate the data to write:
  19. >
  20. >x[1] := 3; y[1] := 10;
  21. >x[2] := 4; y[2] := 31;
  22. >...
  23. >
  24. >In Maple, we can read in this file, which defines the arrays x and y.
  25. >Granted, you have to know this beforehand that you're going to put the
  26. >file in Maple - you may even want to write a little program in the
  27. >language of choice to reformat your data to the above. 
  28. >
  29. >Note: the file format is what would be produced with the 'save'
  30. >command. By 'read'ing in the file, you let Maple know that it has
  31. >data.
  32. >
  33. >Chuck
  34. >
  35. >
  36. >--
  37. >Chuck Browne                            | Frisbeetarianism: The belief that  
  38. >Drexel University Department of Physics | when you die, your soul goes up
  39. >chuck@nimbus.physics.drexel.edu         | on the roof and gets stuck.
  40.  
  41.  
  42. Please excuse me if I'm not understanding what you are attempting, but if
  43. you first convert your data to a list, then maple can use that list in any
  44. way you wish, including plots.
  45.  
  46. Herb
  47.  
  48.  
  49. -- 
  50. Herb Brown  Math Dept  The Univ at Albany  Albany, NY 12222  (518) 442-4640
  51. Director,                                          hibrown@math.albany.edu  
  52. Computer Assisted Instruction in Mathematics       hibrown@csc.albany.edu
  53. --------------------------------------------------------------------------
  54.