plotPatchesRGB( obj, normalize=FALSE, gamma='sRGB', background='gray50',
labels=TRUE, shape='full', add=FALSE )
'RGB'
,
also with assigned rownames.
If the data frame has opTRUE
then all RGBs are scaled so their maximum is 1'sRGB'
or a positive number giving the gamma function
of the display;
see DisplayRGBfromLinearRGB
for details.TRUE
then the rownames are drawn using text
.shape='full'
(the default) then the full rectangle is drawn.
If 'half'
then the rectangle is shrunk to 1/2 size, and with the same center.
If shape
is one of 'left'
, TRUE
then the patches are added to an existing plot.TRUE
if successful, and FALSE
otherwiseobj
is a matrix, or a data frame without columns LEFT,TOP,WIDTH,HEIGHT
,
then the patches are drawn vertically stacked and abutting from top to bottom.
See the blueflame vignette for examples.
And see the gallery vignette for examples of a data frame with those columns.DisplayRGBfromLinearRGB