setStyle.Device: Sets plot style for the current device

Description Usage Arguments Value Author(s) See Also Examples

Description

Sets plot style for the current device from a set of predefined plot styles. Available styles are default and PowerPoint. The style default is the default parameter settings used by [R] and the style PowerPoint is a style for generating plots to be used in the presentations, which requires fatter lines, larges fonts etc.

Usage

1
Device$setStyle(style=c("default", "PowerPoint"), ...)

Arguments

style

The name of the predefined plot style to be applied.

...

Not used.

Value

Returns nothing.

Author(s)

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

See Also

par

For more information see Device.

Examples

1
2
3
  Device$setStyle("PowerPoint")
  plot(sin(0:1000))
  Device$setStyle()            # Reset to default [R] settings.

HenrikBengtsson/R.graphics documentation built on May 6, 2019, 11:53 p.m.