> in the figure editting there is Tools>Basic Fitting. if i select data1 > and make it spline interpolant then it's what exactly i want. BUT if i > try to make it for data2 then Data1 disappears. It's why i am asking if > there is a command for this codes? i tried [xx,yy]=smoothline(x,y) > plot(xx,yy) > but it didn't work. so is there any other solution?
Read the help in the toolset -- you can either manually evaluate the fit at chosen points and save to workspace for each dataset and add that to the plot or do what it does directly via