MATLAB: Smoothing plots from data

plots

im trying to plot some data "smoothed" out. when i use the below code it is still un-smoothed. How do i improve the smoothing?
plot(x1,p7,x1,px,'r','Linesmoothing','on');

Best Answer

Are you sure that you want use anti-aliasing? Linesmoothing is an undocumented feature.
You can use the smooth function to smooth your data:
Related Question