| Author | 
                
                  Topic   | 
                
                
                 
                 
                 
                 
                 
                                 | 
               
              
                | 
                 gstiago 
                 
                
                Brazil 
                9 Posts  | 
                
                  
                    
                      
                       Posted - 01/29/2016 :  2:31:20 PM
                        
                        
                        
                        
                        
                      
  | 
                     
                    
                       OriginLab: 8.5 PRO Operating System:win 7 64 bits
  Hello everyone,  I have one worksheet with one x column and 15 y columns, How can I plot all Y columns in one different graphic like: (x,y1) one graphic (X,y2) other graphic..etc. and take the linear fit using labtalk? I tray :
  >>for(ii=3; ii<=55; ii++){range ss = [book9]sheet1!col(2);range dd = [book9]sheet1!col($(ii));plotxy (ss,dd) plot:= 202;}
  But this dont work ...( iy varname error)...
  Can someone help me.
  My best Regards
  T. G. Santos | 
                     
                   
                 | 
               
              
                | 
                 lkb0221 
                 
                
                China 
                497 Posts  | 
                
                  
                    
                      
                       Posted - 01/29/2016 :  2:38:01 PM
                        
                        
                        
                        
                        
                      
  | 
                     
                    
                       If ss is always the X column associated with all Y columns, just use
  loop (ii, 3, 55) {     range dd = [book9]sheet1!$(ii);     plotxy iy:=dd plot:=202; } | 
                     
                    
                        | 
                     
                   
                 | 
               
              
                | 
                 gstiago 
                 
                
                Brazil 
                9 Posts  | 
                
                  
                    
                      
                       Posted - 01/29/2016 :  6:48:17 PM
                        
                        
                        
                        
                        
                      
  | 
                     
                    
                       Hello lkb0221, I use this code, but this just return all plots in the same graphic, in differents layers... Someone know why this happnd?
  Best Regards
  T. G. Santos | 
                     
                    
                        | 
                     
                   
                 | 
               
              
                | 
                 gstiago 
                 
                
                Brazil 
                9 Posts  | 
                
                  
                    
                      
                       Posted - 02/01/2016 :  08:28:40 AM
                        
                        
                        
                        
                        
                      
  | 
                     
                    
                       Hello All,
  I just make a loops for manipulate data like I want and I Used the multi-data fit by graphic acess..in my case I have a little of worksheets, and made this manually  was more easy. But If someone knows how to made the same( fit linear in a data like xyyyyyy for all curves ) please share with us..
  My Best Regards..
  T. G. Santos | 
                     
                    
                        | 
                     
                   
                 | 
               
              
                |   | 
                
                  Topic   | 
                
                
                 
                 
                 
                 
                 
                 | 
               
             
           | 
         
       
     |