Please enable JavaScript to view this site.

Navigation: Scripts > Example scripts

Script example 6. Import data into several tables

Scroll Prev Top Next More

Before running this script, create a Prism file with 9 data tables each linked to a graph, and all the graphs placed on one layout.  

 

Script command

Comments

GoTo D

Go to the data section.

ForEach 9

Loop nine times.

GoTo %N

Go to the Nth data table, where N is the loop number.

Import Data%N.txt

Import the data file. Data2.txt goes into the second table, Data3.txt goes into the third table, and so on.

Next

Loop.

GoTo L 1

Go to the first layout, which was setup to show all nine graphs.

Print

Print the layout.

 

 

 

 

 

 

 

 

© 1995-2019 GraphPad Software, LLC. All rights reserved.