The Origin Forum
File Exchange
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Loading multiple cureves to one plot

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List

* Forum Code is ON
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

Check here to subscribe to this topic.

T O P I C    R E V I E W
jqian Posted - 09/07/2021 : 1:03:34 PM
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:

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.


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

1   L A T E S T    R E P L I E S    (Newest First)
YimingChen Posted - 09/07/2021 : 2:20:09 PM

Can you import all your files into one worksheet that each file is imported as an X and Y column?

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.


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000