| Line 1... |
Line 1... |
| 1 |
% File src/library/graphics/man/plot.window.Rd
|
1 |
% File src/library/graphics/man/plot.window.Rd
|
| 2 |
% Part of the R package, http://www.R-project.org
|
2 |
% Part of the R package, http://www.R-project.org
|
| 3 |
% Copyright 1995-2009 R Core Team
|
3 |
% Copyright 1995-2014 R Core Team
|
| 4 |
% Distributed under GPL 2 or later
|
4 |
% Distributed under GPL 2 or later
|
| 5 |
|
5 |
|
| 6 |
\name{plot.window}
|
6 |
\name{plot.window}
|
| 7 |
\alias{plot.window}
|
7 |
\alias{plot.window}
|
| 8 |
\alias{xlim}
|
8 |
\alias{xlim}
|
| Line 37... |
Line 37... |
| 37 |
set up so that one data unit in the x direction is equal in length to
|
37 |
set up so that one data unit in the x direction is equal in length to
|
| 38 |
\code{asp} \eqn{\times}{*} one data unit in the y direction.
|
38 |
\code{asp} \eqn{\times}{*} one data unit in the y direction.
|
| 39 |
|
39 |
|
| 40 |
Note that in this case, \code{\link{par}("usr")} is no longer
|
40 |
Note that in this case, \code{\link{par}("usr")} is no longer
|
| 41 |
determined by, e.g., \code{par("xaxs")}, but rather by \code{asp} and
|
41 |
determined by, e.g., \code{par("xaxs")}, but rather by \code{asp} and
|
| 42 |
the device's aspect ratio. (See what happens if you interactively
|
42 |
the device's aspect ratio. (See what happens if you interactively
|
| 43 |
resize the plot device after running the example below!)
|
43 |
resize the plot device after running the example below!)
|
| 44 |
|
44 |
|
| 45 |
The special case \code{asp == 1} produces plots where distances
|
45 |
The special case \code{asp == 1} produces plots where distances
|
| 46 |
between points are represented accurately on screen. Values with
|
46 |
between points are represented accurately on screen. Values with
|
| 47 |
\code{asp > 1} can be used to produce more accurate maps when using
|
47 |
\code{asp > 1} can be used to produce more accurate maps when using
|
| 48 |
latitude and longitude.
|
48 |
latitude and longitude.
|
| 49 |
}}
|
49 |
}}
|
| 50 |
|
50 |
|
| 51 |
Note that the coordinate ranges will be extended by 4\% if the
|
51 |
Note that the coordinate ranges will be extended by 4\% if the
|
| 52 |
appropriate \link{graphical parameter} \code{xaxs} or \code{yaxs} has value
|
52 |
appropriate \link{graphical parameter} \code{xaxs} or \code{yaxs} has value
|
| 53 |
\code{"s"} (which is the default).
|
53 |
\code{"r"} (which is the default).
|
| 54 |
|
54 |
|
| 55 |
To reverse an axis, use \code{xlim} or \code{ylim} of the form
|
55 |
To reverse an axis, use \code{xlim} or \code{ylim} of the form
|
| 56 |
\code{c(hi, lo)}.
|
56 |
\code{c(hi, lo)}.
|
| 57 |
|
57 |
|
| 58 |
The function attempts to produce a plausible set of scales if one or
|
58 |
The function attempts to produce a plausible set of scales if one or
|