function ext=lrtb2ext(lrtb) % ext=LRTB2EXT(obj) % % Transforms the lrtb (left-right-top-bottom) set of coordinates of a graphics object % into an extent (left-bottom-width-hight). % % INPUT: % % lrtb Coordinates % % OUTPUT: % % ext Extent % % See also FILLBOX, ALLEN1, EXT2LRTB % % Last modified by fjsimons-at-alum.mit.edu, 10/06/2006 ext=[lrtb(1) lrtb(4) lrtb(2)-lrtb(1) abs(lrtb(4)-lrtb(3))];