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
 smooth columns on multiple sheets

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
ticofiz Posted - 10/31/2011 : 4:14:22 PM
OriginPro 8.5.1
Windows 7 Ultimate 64 bit

Hello,

I am using this command line "loop(ii,1,wks.ncols) {smooth iy:=$(ii) meth:=sg npts:=5 poly:=2;};" to smooth data from a active workbook. Could you tell me please how can I apply this command on all the sheets from a workbook? The sheets have different names.

Thank you
3   L A T E S T    R E P L I E S    (Newest First)
karlhammer48 Posted - 11/14/2011 : 7:52:06 PM
Cased solved thanks to you Penn

Early Pension Cash Release


Karl Hammer
ticofiz Posted - 11/01/2011 : 04:08:44 AM
Thank you very much!

quote:
Originally posted by Penn

Hi,

You can use the page object. For example:

loop(jj, 1, page.nLayers)  // loop over all worksheet in the active workbook
{
	page.active = jj;  // activate the jjth worksheet
	loop(ii,1,wks.ncols) 
	{
		smooth iy:=$(ii) meth:=sg npts:=5 poly:=2;
	}
}


Penn

Penn Posted - 11/01/2011 : 04:00:45 AM
Hi,

You can use the page object. For example:

loop(jj, 1, page.nLayers)  // loop over all worksheet in the active workbook
{
	page.active = jj;  // activate the jjth worksheet
	loop(ii,1,wks.ncols) 
	{
		smooth iy:=$(ii) meth:=sg npts:=5 poly:=2;
	}
}


Penn

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