% Rectangle:  Draw a rectangle% Points (px,py) and (qx,qy) are opposite corners of a rectangle.% All coordinates are in the range of 1 to 9.close all           % Close all previous figure windows% Coordinates of the opposing corners of a rectangle%---------------------------------------------------------------% Make your modifications belowpx= 2.5;py= 2;qx= 8.5;qy= 3;% Make your modifications above%---------------------------------------------------------------% Draw the rectanglehold onplot([px,qx], [py,py]);plot([qx,qx], [py,qy]);plot([qx,px], [qy,qy]);plot([px,px], [qy,py]);% Mark the points (px,py) and (qx,qy) on the figure%---------------------------------------------------------------% Make your modifications below% Make your modifications above%---------------------------------------------------------------message= sprintf('Rectangle with corners (%.1f,%.1f) and (%.1f,%.1f).',...    px, py, qx, qy);title(message);     % Show message as the title of the plotaxis('equal');      % Make the units the same length on each axisaxis([1 9 1 9]);    % Specify min and max values for each axis