MATLAB: How to make a smooth graph

Hi, I have this data with me.
P_load = [0,8000,10000,11000,20000,25000,25000,21000,30000,20000,12000,45000, 12000,45000,23300,12000,15000,17000,20000,16000,12200,1000,2000,100];% Watts
so how can I make it smoother?. I nearly damage my brain now.
Help appreciated.

Best Answer

P_load = [0,8000,10000,11000,20000,25000,25000,21000,30000,20000,12000,45000, 12000,45000,23300,12000,15000,17000,20000,16000,12200,1000,2000,100];% Watts
x=1:numel(P_load)
xx=linspace(1,numel(x),1000)
yy=interp1(x,P_load,xx,'spline')
plot(x,P_load,'or',xx,yy,'-m')