%3d plot created at IIT madras
xscale= [ 5 10 15]; % xscale
yscale=[ -10 -5 0 5 10]; %yscale
zscale= [758,1200,850;
2118,301.333333333333,1681;
1200,740,1120;
900,990,680;
212,721,100;];
figure (1)
s= surf(xscale,yscale,zscale);
title('title');
xlabel('xaxis');
ylabel('yaxis');
zlabel('zaxis');
set(get(gca,'XLabel'),'FontSize',15, 'fontweight', 'bold');
set(get(gca,'YLabel'),'FontSize',15, 'fontweight', 'bold');
set(get(gca,'zLabel'),'FontSize',15, 'fontweight', 'bold');
set(get(gca,'title'),'FontSize',15, 'fontweight', 'bold');
set(s,'Marker','o');
set(s,'MarkerEdgeColor',[0 0 0]);
set(s,'MarkerFaceColor',[1 0 0]);
set(s,'MarkerSize',10);
set(s,'FaceColor',[0.784 0.816 0.831] );
h=figure(1);
ifig1=1;
fileName1='figure';
iChar = num2str(ifig1);
fileName2 = strcat(fileName1,iChar);
fileNameWithExt = strcat('c:\surfplot\',fileName2,'.fig');
saveas(h,fileNameWithExt);