The R Project SVN R

Rev

Rev 68948 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 68948 Rev 75295
Line 28... Line 28...
28
    \item{\code{"ndc"}}{normalized device coordinates.}
28
    \item{\code{"ndc"}}{normalized device coordinates.}
29
    \item{\code{"nfc"}}{normalized figure coordinates.}
29
    \item{\code{"nfc"}}{normalized figure coordinates.}
30
    \item{\code{"npc"}}{normalized plot coordinates.}
30
    \item{\code{"npc"}}{normalized plot coordinates.}
31
    \item{\code{"nic"}}{normalized inner region coordinates.  (The
31
    \item{\code{"nic"}}{normalized inner region coordinates.  (The
32
      \sQuote{inner region} is that inside the outer margins.)}
32
      \sQuote{inner region} is that inside the outer margins.)}
-
 
33
    \item{\code{"lines"}}{lines of margin (based on \code{mex}).}
-
 
34
    \item{\code{"chars"}}{lines of text (based on \code{cex}).}
33
  }
35
  }
34
  (These names can be partially matched.)  For the \sQuote{normalized}
36
  (These names can be partially matched.)  For the \sQuote{normalized}
35
  coordinate systems the lower left has value 0 and the top right
37
  coordinate systems the lower left has value 0 and the top right
36
  value 1.
38
  value 1.
37
 
39
 
Line 44... Line 46...
44
}
46
}
45
 
47
 
46
\examples{
48
\examples{
47
op <- par(omd=c(0.1, 0.9, 0.1, 0.9), mfrow = c(1, 2))
49
op <- par(omd=c(0.1, 0.9, 0.1, 0.9), mfrow = c(1, 2))
48
plot(1:4)
50
plot(1:4)
49
for(tp in c("in", "dev", "ndc", "nfc", "npc", "nic"))
51
for(tp in c("in", "dev", "ndc", "nfc", "npc", "nic", "lines", "chars"))
50
    print(grconvertX(c(1.0, 4.0), "user", tp))
52
    print(grconvertX(c(1.0, 4.0), "user", tp))
51
par(op)
53
par(op)
52
}
54
}
53
\keyword{ dplot }
55
\keyword{ dplot }