plrect

plot a (filled) rectangle in user units

parametertypeunitsdescription
x1,y1floatuuone vertex of the rectangle
x2,y2floatuudiagonally opposite vertex
returns:void

Description

plrect, if border-drawing is set (see plset), plots a rectangle between (x1,y1) and (x2,y2) in user units and, if filling is set (see plset), fills it with the current fill color. This is the default case since plinit sets the fill color to NoColor.

See also

plfcolor plset

Examples

See also

plfill plclip plarcr plformat plbox plfunc pltrace plarc plreserv plhist plloop simplot program plpolar