| 
        
          | 
              
                | Author |  Topic  |           |  
                | Duff
 
                Argentina42 Posts
 | 
                    
                      |  Posted - 07/21/2014 :  2:40:21 PM           
 |  
                      | Origin Ver. and Service Release (Select Help-->About Origin): 9.1 Operating System: win7 64
 
 Hi,
 I have a table with 3 columns (XYZ):
 X, Y are coordinates in a plane an Z a value.
 I want to smooth the Z, like Adjacent-Averaging, without change the X and Y values.
 I want the "smooth" command, but in 3D.
 There is any way?
 Thanks!
 |  |  
                | SeanMao
 
                China288 Posts
 |  |  
                | Hideo Fujii
 
                USA1582 Posts
 | 
                    
                      |  Posted - 07/23/2014 :  11:48:43 AM           
 |  
                      | Hi Duff, 
 2D Smoothing (for Z's on XY plane) is currently available in Origin only for a matrix data:
 http://www.originlab.com/doc/Origin-Help/Matrix-Smoothing
 
 Thus, you need to deal with the matrix data. To make a matrix from an XYZ worksheet, you can apply "gridding"
 (assuming XY data points are randomly distributed), and the methods there even have smoothing options.
 After you get a smoothed matrix, you can then put it back to a worksheet form, then interpolate Z values
 for the original XY data points.
 
 Please look at the screenshot below:
 
 
  
 Here, MBook1 and Graph2 are the result of gridding by Thin Plate Spline method with smoothing factor 0.2.
 Obviously the surface is quite smooth on much finer XY locations. You probably need to experiment with
 various methods and parameters.
 MBook1 has been converted to an XYZ worksheet (column A, B, C), and interpolated to get the final column F.
 The result Graph3 is less spiky than Graph1.
 
 Hope this helps.
 
 --Hideo Fujii
 OriginLab
 |  
                      |  |  |  
                |  |  Topic  |           |  |  |