image thumbnail
from Eular angles GUI by Maxim Vedenyov
Eular angles visualization and connection with axis-angle rotation.

h=editpm2(fig,x,y,dx,dy,str,clb)
function h=editpm2(fig,x,y,dx,dy,str,clb)
% without +/- and not active

clr=[0.8313725490196079   0.8156862745098039   0.7843137254901961]; % background color


h=uicontrol('parent',fig,...
    'Style','edit','units','normalized','fontunits','normalized',...
    'BackgroundColor',[1 1 1],...
    'HorizontalAlignment','center',...
    'fontsize',0.8,...
    'position',[x y-dy/2 dx dy],'string',str,...
    'callback',clb,...
    'Enable','off');

Contact us at files@mathworks.com