Learn R Programming

RSurvey (version 0.6-0)

SetConfiguration: Set Window and Plotting Parameters

Description

A GUI for specifying window geometry and universal plotting parameters.

Usage

SetConfiguration(parent = NULL)

Arguments

parent
tkwin; the parent window (optional).

Value

  • Queries and sets the following components of Data:
  • nlevelsinteger; approximate number of contour levels desired; its default is 20.
  • widthnumeric; the width of the plotting window canvas in inches; its default is 7.
  • cex.ptsnumeric; the amount by which point symbols should be magnified relative to the default value, 1.0. For example, cex.pts = 0.5 reduces the point symbol to half of its default size.
  • asp.yx, asp.zxnumeric; the y/x and z/x aspect ratios, respectively (optional).
  • vmaxnumeric; the maximum length of arrows in inches (optional).
  • vxby, vybyinteger; increment for the sequence of arrows in the x and y directions, respectively (optional).
  • tgapnumeric; the time gap exceedance level in seconds. A break in the linear segments of the time-series plot will occur where differences between sequential temporal records is greater than tgap.
  • rkeylogical; if TRUE the legend key is reversed with z values descending from top to bottom; its default is FALSE.
  • img.contourlogical; if TRUE the image function is used to plot the interpolated surface; if FALSE (the default) the filled.contour function is used.
  • show.arrowslogical; if TRUE the vector arrows will be plotted; its default is FALSE.
  • show.lineslogical; if TRUE the line contours will be plotted on the two-dimensional interpolated surface; its default is FALSE.
  • show.pointslogical; if TRUE the point values associated with (x,y) will be plotted on the interpolated surface; its default is FALSE.
  • show.polylogical; if TRUE the polygons describing the spatial domain are added to the scatter plot and two-dimensional surface plot; its default is FALSE.
  • vunilogical; if TRUE a constant arrow length specified by vmax is used; its default is FALSE.
  • show.2.axeslogical; if TRUE axes tickmarks will be drawn on all sides, its default is FALSE.
  • minor.tickslogical; if TRUE minor tickmarks are added to the plot; its default is FALSE.
  • ticks.insidelogical; if TRUE tickmarks are placed inside the plot region; its default is FALSE.

Examples

Run this code
SetConfiguration()

Run the code above in your browser using DataLab