Learn R Programming

lmSupport (version 2.9.13)

figNewDevice: Opens device for graphing

Description

Opens a device for graphing (window,pdf,tiff) and establishes default parameters for standardized graphs

Usage

figNewDevice(Width=7,Height=7, Type='window',File, Res=300)

Arguments

Width,Height

the (nominal) width and height of the canvas of the plotting window in inches. Default = 7.

Type

Device type: Window, pdf,tiff. Devault = 'Window'. Window will open a window using either windows(), quartz(), or X11() depending on the OS. tiff and pdf will graph to that type of file.

File

File name as string. Used by tiff and pdf

Res

The nominal resolution in ppi used by tiff

Value

None

See Also

figLabDefaults(), figSetDefaults(), windows(), tiff(), pdf()

Examples

Run this code
# NOT RUN {
figNewDevice(Type='tiff',File='Test.tiff', Res=72)
figNewDevice(Type='Windows')
# }

Run the code above in your browser using DataLab