Response There is a way to do this using the set -x command. You can plot your Y data
against it's default X column and then change the X dataset after it is plotted
in the layer. Please see the following simple script:
Assumptions:
1. The graph window is active when the script is executed.
2. You are plotting the second column in each worksheet.
3. Data1_a is the X dataset that we will associate with each Y dataset.
%W=%H; //Store the Graph window name
doc -e W {
%B=%(%H,2); //Set %B to the second column in each wks
win -o %W {
layer -i %B; //Include the dataset in the layer
set data1_a -x %B; //Associate data1_a as the X dataset for %B
};
};
rescale;
In the future, if you require a rapid technical response, please submit your
technical question to your Origin dealer if they provide technical support. Or
you can mail us directly at tech@microcal.com.