Document 720

Importing data points

Version: 3.x, 4.x, 5.x - Scientific WorkPlace, Scientific Word, & Scientific Notebook

You can import a text file of data points directly into a matrix. Create a file of the data points and then import the file into a document.

  1. Create the file:

    1. Use an ASCII editor to create a file in the format shown below, with a blank space separating the items in each line of data. The number of data points per line is arbitrary.

      Line Content
      1
      2 //anyname
      3
      4 $x_{1}$ $y_{1}$
      5 $x_{2}$ $y_{2}$
      6 $x_{3}$ $y_{3}$
      : :
      last

    2. Save the file

  2. Import the file:

    1. Position the insertion point in your document where you want to import the data.

    2. From the File menu, choose Import Contents.

    3. In the Files of type box, select TI Files (*.txt).

    4. Specify the name and location of the file you created in step 1.

    5. Choose OK.

      The program reads the data file, converts it to a matrix, and imports the data at the insertion point.

See also

For illustrations of this method, see the .txt files in the SNSamples directory of your program installation.

Added 05/10/06