![]() The package pixmap may be more suitable for plotting images that are not data-driven (e.g. This function is called by colorgram, which accepts a numeric (rather than color) matrix as input. Image and rasterImage provide somewhat similar functionality. #DRAW A COLORED IN SQUARE GIMPSHOP PDF#However, the output may look strange with smaller matrices on graphics devices that do smoothing by default (such as PDF output viewed in Preview).Ĭurrently, this function will may not behave as expected if the x and/or y values are specified as midpoints and are not evenly spaced. ![]() Using useRaster=TRUE can reduce the file size for large matrices drawn to vector-based graphics output such as PDFs. Otherwise, xlabels is taken as a vector of labels to be placed below each column. If xlabels is TRUE, the rownames of zcol are placed below each column. If xlabels is NULL (the default), standard numeric axes are drawn on the X-axis. This function is somewhat similar to the function image, except that the colors are specified explicitly, and the size of each rectangle can be adjusted. #DRAW A COLORED IN SQUARE GIMPSHOP SERIES#FALSE = draw a series of individual rectangles.ĭata ( x, y, and zcol) can be passed to this function in any format recognized by ords. TRUE = draw a true raster image (using rasterImage). Will be recycled if necessary.Īdd to the current plot instead of creating a new one? Relative size for each rectangle, ranging from 0 to 1. Matrix of colors for each rectangle, e.g. ![]() Vector of rectangle midpoints or breakpoints along Y-axis (corresponding to the rows of zcol). Vector of rectangle midpoints or breakpoints along X-axis (corresponding to the columns of zcol). Cimage ( x = NULL, y = NULL, zcol = NULL, zsize = 1, xlab = NULL, ylab = NULL, xlabels = NULL, ylabels = NULL, border = NA, add = FALSE, axes = TRUE, useRaster = FALSE. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |