The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Scripts are running slower and slower

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

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

* HTML is OFF
* Forum Code is ON
Smilies
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
66de250 Posted - 11/08/2024 : 01:00:07 AM
Dear Sir, a workbook has many, many columns of data, use the "plotxy" command, take the first column as the X-axis data, and each other as the Y-axis data, output to new windows, after the drawing result window reaches a certain number, the script running speed is obviously slow, is this my computer reason or 'origin' optimization problem? If it is an 'origin' optimization problem how should I solve this problem.My software version is 2021.
2   L A T E S T    R E P L I E S    (Newest First)
66de250 Posted - 11/09/2024 : 02:22:53 AM
Thank you for your reply, I generally draw data columns up to several hundred.
quote:
Originally posted by YimingChen

How many columns did you plot? Is your code similar to the code below?

for (int i = 2; i < 100; i++) {
	plotxy [Book1]1!(1,$(i)) ogl:=[<new>]<new>;
}


I tested with 100 columns, and it was slightly slower towards the end.

Thank you
James



YimingChen Posted - 11/08/2024 : 3:08:46 PM
How many columns did you plot? Is your code similar to the code below?

for (int i = 2; i < 100; i++) {
	plotxy [Book1]1!(1,$(i)) ogl:=[<new>]<new>;
}


I tested with 100 columns, and it was slightly slower towards the end.

Thank you
James


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