| 
        
          | 
              
                | Author |  Topic  |           |  
                | changtw
 
                UKPosts
 | 
                    
                      |  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!
 |  |  
                | easwar
 
                USA1965 Posts
 | 
                    
                      |  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
 
 
 |  
                      |  |  |  
                | changtw
 
                UKPosts
 | 
                    
                      |  Posted - 05/13/2004 :  12:09:19 PM           
 |  
                      | Thank you very much for your help. 
 Your method works great
  !! |  
                      |  |  |  
                |  |  Topic  |           |  |  |