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
 How to extract the spline data set?

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
changtw Posted - 05/13/2004 : 08:58:06 AM
After I plot the Spline Curve Graph, how can I access the Spline Data?

On the website, it says the spline data set is held internally, and it is possible to access it. But I just couldn't figure out how.

Many thanks!
2   L A T E S T    R E P L I E S    (Newest First)
changtw Posted - 05/13/2004 : 12:09:19 PM
Thank you very much for your help.

Your method works great !!
easwar Posted - 05/13/2004 : 10:11:36 AM
Hello,

Here is one way to do this:

1> Plot your data as line or line+symbol, and change line connection type to spline/bspline etc (you have already done this)
2> Add two more columns to your original data worksheet, or create a new worksheet with two columns. Set the 1st added column as type X and the second as type Y. Let me assume you created a new worksheet, and the columns are data2_a and data2_b
3> Fill data2_a with x values at which you want to find the corresponding spline/bspline y values
4> With the graph window active, go to the script window (menu: Window->Script window) and type the following command and press Enter:
data2_b=%c(data2_a)

What this command does is to use the data2_a values as X, then use the internal parameters of the spline connection, and generate new Y values for each X value using the spline parameters, and places them in data2_b

Easwar
OriginLab


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