rect

Draws the outline of a rectangle using the current color. For valid x and y values, please see plot.

Usage

    rect(x, y, width, height);

x and y gives the lower left corner of the rectangle.