plot.BitmapImage {R.image}R Documentation

Plots the image

Description

Plots the image. Normally image() is better.

Usage

## S3 method for class 'BitmapImage':
plot(x, xlim=NULL, ylim=NULL, xlab="", ylab="", ...)

Arguments

xlim, ylim The width and the height of the plot. If NULL the full width and height will be used, respectively.
... Any graphical parameters as accepted by most plot functions.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

For a more precise way of drawing the image see *image(). For placing an image on an already existing plot see *points(). For more information see BitmapImage.

Examples

   # Read the images 'logosm.ppm' of size 51x38.
   logo <- BitmapImage$read("logosm.ppm", path=system.file("images", package="R.image"))

   plot(logo)
  

[Package R.image version 0.2.3 Index]