![]() ![]() To surround the z locations as midpoints. If FALSE (default) the quadralaterals will be extended This option for the case of unequally spaced grids with x and y being To avoid visible rounding of the pixel corners. Line width of bordering lines around pixels. Label as this is usual evident from the plot title.Īmount to shrink the size of legend relative to the full height or Default is 5.1įor a vertical legend and 3.1 for a horizontal legend. Width in characters of legend margin that has the axis. Make this larger if the label collides with the color axis labels. This usually will not be needed.Ĭharacter expansion to change size of the legend label.ĭistance in units of character height (as in mtext)Ĭolor bar. Mtext function and you will need to give both the side and line arguments for positioning. This is in the form of list and is just passed to the if you need to the rotate text or other details. In the absence of other information the range for the legendĪrguments for a complete specification of the Legend to a the plot in the plot region defined by the coordinates in (See example below adding a log scaling.) This is intended to label axis on aĪdditional arguments for the axis function used toĬreate the legend axis. If breaks are supplied these are text string labels True the legend strip will be along the bottom. If false (default) legend will be a vertical strip on the right side. ![]() Such as points or lines.) If TRUE will reset plot parameters to the If FALSE (default) the plotting region ( plt in par) will not be resetĪnd one can add more information onto the image plot. Note that if breaks is specified there must be one less color specified than the number of breaks. If breaks is not specified (nlevel+1) equally spaced breaks are created where the first and last bin have their midpoints at the minimum and maximum values in z or at zlim.Ĭolor table to use for image (See help file on image for details.).ĭefault is a pleasing range of 64 divisions suggested by Tim Hoar and is similar to Note that if there are nlevel colors there should be (nlevel+1)īreakpoints. Otherwise this specifies the color to use.īreak points in sorted order to indicate the intervals for assigning This only works if x and y are matrices - if NA the quadralaterals will If true add image and a legend strip to the existing plot. The individual legend arguments and/or legend.arg listed To change the graphical defaults for the legend use NOTE: graphical argruments passed here will only have impact The basic concept is that the coordinates of x and y stillĭefine a grid but the image cells are quadrilaterals rather than being If a "quadrilateral grid",Īrguments must be explicitly x,y and z with x, and y being matrices ofĭimensions equal to, or one more than, z giving the grid One can also include a breaksĪrgument for an unequal spaced color scale with color scale boundariesĪt the breaks (see example below). The usual arguments to the image function as x,y,or z or as a Graphics.reset = FALSE, bigplot = NULL, smallplot = NULL,Īxis.args = NULL, legend.args = NULL, legend.cex=1.0, Legend.mar = ifelse(horizontal, 3.1, 5.1), legend.lab = NULL, Horizontal = FALSE, legend.shrink = 0.9, legend.width = 1.2, ImagePlot which is backwardly compatible with this function. ![]() ot functionality has been frozen, see the more recent function See the example where this function can create a similar graphic Often arise from regular grids transformed with a map projection or a scaling and rotation of coordinates. This function also allows for plotting quadrilateral cells in the image format that Legend is added the plot region is reset to the image plot. Putting the image in one and the legend in the other. This is done by splitting the plotting region This function combines the R image function with some automatic ot: Draws an image plot with a legend strip for the color scale based on eitherĪ regular grid or a grid of quadrilaterals. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |