GraphPad Prism 8 User Guide

Importing data from the script file

Importing data from the script file

Previous topic Next topic No expanding text in this topic  

Importing data from the script file

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function Emails questions or corrections.  

Commands

InsertData <row>, <col>, <subcol>

InsertDataLink <row>, <col>, <subcol>

 

Explanation

If you create the script file from within another program, you can include data and info constants within the same file as the script commands.

The InsertData command imports data included within the script file, into the current data table, starting at the specified position. The data are included right in the script file enclosed between the tags <Data> and </Data>. The rest of the script continues right after the </Data> tag.

InsertData

<Data>

1, 2, 4

5, 7, 9

</Data>

The InsertDataLink command imports data included within the script file, into a data object whose upper left position is at the indicated position. This works similarly to the ImportLink command.

If you want to import starting at a particular row or column, specify them. Row 0 is the title row, and row 1 is the first row with data. Column 0 is the X column, and column 1 is the first Y column. Column -1 designates the row titles.