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
 Origin Forum
 Multiple curve smoothing

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
jimbo82g Posted - 08/05/2008 : 06:55:03 AM
Hi,

I have a graph with multiple spectra on it and wish to smooth all the curves in the graph. How do I do this without having to go through the curves one by one? I'm not overly keen on programming in C but will if it's the only way.

Thanks,

Jim
3   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 08/06/2008 : 11:50:05 AM
This wiki shows how to choose the method and modify the options:

http://wiki.originlab.com/index.php?title=LabTalk:Signal_Processing#Smoothing_Plotted_Datasets

For any of the new XFunctions, you can get help by typing:
name -h
or
help name
in the Command Window or Script Window.
As in
smooth -h
jimbo82g Posted - 08/06/2008 : 08:11:44 AM
Hi Shirley,

Thanks for the script. The script runs and creates new 'smoothed' plots but the plots are only smoothed fractionally. Is there a way to specify which smoothing method is to be used (i.e. Savitsky-Golay, FFT filter) and the point of window in the script?

Thanks,

Jim
Shirley_GZ Posted - 08/06/2008 : 05:47:57 AM
Hi Jim,

Origin cannot smooth multiple curves at one time From GUI.

You can copy the following script to command windows and execute it.

int n;
layer -c;
for (n=1;n<=count;n++)
{
smooth iy:=!$(n);
}

Please make sure that the graph window is active when you execute the script.

Shirley Tian


Originlab Technical Service Team

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