Origin Ver.8.5 and Service Release 2(Select Help-->About Origin):
Operating System:windows 7
I put it in custom.ogs
The code is
// Filename: Custom.ogs
// Purpose: The Custom Routine button on the standard toolbar will use this code, by calling
// the [Main] section
// Modifications:
////////////////////////////////////////////////////////////////////////////////
// Main Code
////////////////////////////////////////////////////////////////////////////////
[Main]
document -e W {
worksheet -s 3 0 3 0; // select the thhird column
worksheet -p 200 Line.otp; // plot the third column
layer.x.from = 0;
layer.x.to = 800;
layer.x.inc = 100;
}
loop (i, 1, 8) {
win -a "Graph$(i)";
label -s -p 40 0 -n label1 "x/d=$(10*i-4)";
label1.background = 1;
label -s -p 80 92 -n label1 "WW1"
}
loop (i, 9, 16) {
win -a "Graph$(i)";
label -s -p 40 0 -n label1 "x/d=$(10*i-84)";
label1.background = 1;
label -s -p 80 92 -n label1 "WW2"
}