smoothing plots from data

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');

 Accepted Answer

Grzegorz Knor
Grzegorz Knor on 10 Sep 2013
Edited: Grzegorz Knor on 10 Sep 2013

0 votes

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

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!