[x,y,z]=sphere(50);
spotsz=0.5;focus=0.231;
xp=6.253; yp=6.242; zp=5.254
x=x*spotsz + xp;
y=y*spotsz + yp;
z=z*spotsz + zp;
h=plot3(x,y,z)
text(xp+1,yp+1,zp+1,['( ',num2str(xp),', ',num2str(yp),', ',num2str(zp),' )',],'FontName','times','FontSize',20)
text(xp+1,yp+1,zp-1,['focus dist:',num2str(focus),'mm'],'FontName','times','FontSize',20)
grid on;axis square;
set(gca,'XLim',[0 15])
set(gca,'YLim',[0 15])
set(gca,'ZLim',[0 15])
xlabel('+X','FontName','times','FontSize',20)
ylabel('+Y','FontName','times','FontSize',20)
zlabel('+Z','FontName','times','FontSize',20)
title('PUP POSITION','FontName','times','FontSize',20)
set(h,'Color',[0 .9 0])


