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 |