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