Hi,
There seems no LabTalk command for merging graph directly in Origin 7.5. However, you can try to plot all the data to one graph (into different layer) first, and then rearrange the positions of the layers. The following LabTalk script shows how to plot data into one graph with different layers.
window -t p; // create an empty graph, with one layer
for(ii = 1; ii < 7; ii++) // assume there are 6 worksheets, from Data1 to Data6
{
if(ii != 1)
{
layer -n; // if not the first time, add a new layer
}
layer -i Data$(ii)_B; // add column B in Dataii worksheet into the layer
// The layer settings script can be added here
}
After create such graph, you can rearrange the layers in the graph. You can refer to this macro.
If all the graphs in the project need to be merged, maybe you can use the window -m command to merge all graphs first, and then rearrange the layer positions.
By the way, for so many graphs, I am afraid the result will not look so good.
Penn