Rev 7002 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{x11}\title{X Window System Graphics}\usage{X11(display = "", width = 7, height = 7, pointsize = 12,gamma = 1, colortype = options()$X11colortype,maxcubesize = 256)}\alias{x11}\alias{X11}\arguments{\item{display}{the display on which the graphics window will appear.The default is to use the value in the user's environment variable\code{DISPLAY}.}\item{width}{the width of the plotting window in inches.}\item{height}{the height of the plotting window in inches.}\item{pointsize}{the default pointsize to be used.}\item{gamma}{the gamma correction factor. This value is usedto ensure that the colors displayed are linearly related toRGB values. A value of around 0.5 is appropriate for many PCdisplays. A value of 1.0 (no correction) is usually appropriatefor high-end displays or Macintoshs.}\item{colortype}{the kind of color model to be used. Thepossibilities are \code{"mono"}, \code{"gray"}, \code{"pseudo"},\code{"pseudo.cube"} and \code{"true"}.}\item{maxcubesize}{can be used to limited the size of colorcube allocated for pseudocolor devices.}}\description{\code{X11} starts a graphics device driver for the X Window System(version 11). This can only be done on machines that run X.\code{x11} is recognized as a synonym for \code{X11}.}\details{By default, an X11 device will use the best color renderingstrategy that it can. The choice can be overriden with the\code{colortype} parameter. A value of \code{"mono"} results inblack and white graphics, \code{"gray"} in grayscale and\code{"true"} in truecolor graphics (if this is possible). Thevalues \code{"pseudo"} and \code{"pseudo.cube"} provide colorstrategies for pseudocolor displays. The first strategy provideson-demand color allocation which produces exact colors untilthe color resources of the display are exhausted. The secondcauses a standard color cube to be set up, and requested colorsare approximated by the closest value in the cube. The defaultstrategy for pseudocolor displays is \code{"pseudo"}.}\seealso{\code{\link{Devices}}.}\keyword{device}