{graphics} R# Documentation

graphics


require(R);

#' The R Graphics Package
imports "graphics" from "REnv";

The R Graphics Package R functions for base graphics.

The R Graphics Package R functions for base graphics.



.NET clr function exports
dev.off

returns the number and name of the new active device (after the specified device has been shut down).

dev.cur

returns a length-one named integer vector giving the number and name of the active device, or 1, the null device, if none is active.

dev.set

dev.set makes the specified device the active device. If there is no device with that number, it is equivalent to dev.next. If which = 1 it opens a new device and selects that.

text

Add Text to a Plot

text draws the strings given in the vector labels at the coordinates given by x and y. y may be missing since xy.coords(x, y) is used for construction of the coordinates.

rasterFont
rasterPixels

convert the image to a collection of raster pixels

rasterImage

draw a raster image on a specific position

plot

Generic X-Y Plotting

Generic function for plotting of R objects.

wmf

windows metafile device

bitmap

Graphics Device for Bitmap Files via Ghostscript

save image data as bitmap image file, bitmap generates a graphics file. dev2bitmap copies the current graphics device to a file in a graphics format.

png

BMP, JPEG, PNG and TIFF graphics devices

Graphics devices for BMP, JPEG, PNG and TIFF format bitmap files.

readImage

readImage: this function reads various types of images Reads images of type .png, .jpeg, .jpg, .tiff This function takes as input a string-path and returns the image in a matrix or array form. Supported types of images are .png, .jpeg, .jpg, .tiff. Extension types similar to .tiff such as .tif, .TIFF, .TIF are also supported

thumbnail

Create thumbnail image

resizeImage

resize image to a new pixel size


[Document Index]