phi=0:0.02:2*pi;ang=phi*180/pi;
func=(cos(phi)).^2;
%  normal plot
figure;set(gcf,'color','white');plot(ang,func);set(gca,'xlim', [0 360  ]);
set(gca,'fontsize', 16);xlabel('angle [degrees]'); 
%  polar plot mpolar.m
figure;set(gcf,'color','white');set(gcf,'color','white');mpolar(phi,func); 
%  polar plot mmpolar.m
figure;set(gcf,'color','white');set(gcf,'color','white');mmpolar(phi,func); 
%  polar plot mmatlab
figure;set(gcf,'color','white');set(gcf,'color','white');polar(phi,func); 
