function h=editpm1(fig,x,y,dx,dy,str,clb)

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);


st=0.1;


p=uicontrol('parent',fig,...
    'Style','pushbutton','units','normalized','fontunits','normalized',...
    'BackgroundColor',clr,...
    'HorizontalAlignment','center',...
    'fontsize',1,...
    'position',[x+dx y-dy/2+dy/2 dy/2 dy/2],'string','+',...
    'callback',['stp1(' num2str(h,'%20.20e') ',' num2str(st,'%20.20e') ',''' clb ''',' num2str(fig,'%20.20e') ')' ]);


m=uicontrol('parent',fig,...
    'Style','pushbutton','units','normalized','fontunits','normalized',...
    'BackgroundColor',clr,...
    'HorizontalAlignment','center',...
    'fontsize',1,...
    'position',[x+dx y-dy/2 dy/2 dy/2],'string','-',...
    'callback',['stp1(' num2str(h,'%20.20e') ',' num2str(-st,'%20.20e') ',''' clb ''',' num2str(fig,'%20.20e') ')' ]);