The Origin Forum
File Exchange
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Loading multiple cureves to one plot
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

jqian

USA
Posts

Posted - 09/07/2021 :  1:03:34 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:

Hi,
I'm using an old version of the Origin.
I have a question regarding loading over 500 XY curves (different x and y values) to one plot.
I'm doing that because I need to get the curves to one plot and then to have averaged curve of them through the Average Multiple Curves.
As a practice, I imported 100 books on screen and then run the script:

repeat 1 {win -t P;} //create new empty graph
doc -e W //loop all workbooks in the OPJ
{
wks.col$(2).type=4; // make column2 from y to x
plotxy iy:=(18) plot:=200 ogl:=[Graph1]1!; //create one plot having 100 curves.
}

It was good without any problem.

Then I tried to import 511 files. It was no problem for loading the files to the screen as 511 books. But it gave error message after running the script as above. It seems that the system only could have 128 curves in one plot.
May I have your help for solving the issue? Perhaps a loop that I can have a few plots with each of them having 128 curves.

Thanks.
John

Maximum number of data sets in a legend is 129. The remaining data are not included in the legend.



YimingChen

820 Posts

Posted - 09/07/2021 :  2:20:09 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Can you import all your files into one worksheet that each file is imported as an X and Y column?
https://www.originlab.com/doc/Quick-Help/Import-Multi-Data

Then you can select all the columns and run Average Multiple Curves. Basically if you just want to average curves, you don't have to plot them out.

Thank you.

James
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000