Hi Naetop.
Plotting can be done by selecting the columns and then generating the plot. If you want to plot all the columns in the worksheet, you will need to use loops. Please see the following simple example:
%a=%h; //Save the name of worksheet;
ncols=wks.ncols; //Get the number of columns in worksheet
for (ii=1; ii<ncols; ii+=2)
{
worksheet -s $(ii) -1 $(ii)+1 -1; //Select two columns
worksheet -p 201; //Generate a scatter plot
window -a %a; //Activate the worksheet
};
If you want to change the symbols, you can use the set command.
Both OC and Labtalk are fine for this task. You can choose either language you like.
You may take a look at the Overview of the LabTalk Language chapter in the Programming reference first.
Deanna
OriginLab Technical Services
Edited by - Deanna on 12/15/2006 03:08:28 AM