Learn R Programming

RSurvey (version 0.6-0)

EditLimits: Set Limits for Data and Axes

Description

A GUI for specifying data and axes limits.

Usage

EditLimits(lim = NULL, win.title = "Limits", parent = NULL)

Arguments

lim
list; contains the current plotting limits, see Value.
win.title
character; the title of the main window (optional).
parent
tkwin; the parent window (optional).

Value

  • Returns a list containing the following components:
  • x1, x2numeric; the minimum and maximum x value.
  • y1, y2numeric; the minimum and maximum y value.
  • z1, z2numeric; the minimum and maximum z value.
  • t1, t2POSIXct; the minimum and maximum t value.
  • x1.chk, x2.chklogical; if TRUE a default value is used for the minimum and maximum x value.
  • y1.chk, y2.chklogical; if TRUE a default value is used for the minimum and maximum y value.
  • z1.chk, z2.chklogical; if TRUE a default value is used for the minimum and maximum z value.
  • t1.chk, t2.chklogical; if TRUE a default value is used for the minimum and maximum t value.
  • xnumeric; a vector of x limits (x1,x2), default is (NA,NA).
  • ynumeric; a vector of y limits (y1,y2), default is (NA,NA).
  • znumeric; a vector of z limits (z1,z2), default is (NA,NA).

Examples

Run this code
EditLimits()

Run the code above in your browser using DataLab