Displaying 15 results from an estimated 15 matches for "yinch".
Did you mean:
finch
1997 Jun 23
0
R-alpha: various graphics Q.
...able to put symbols and lines in the
same column (option "merge"). The spacing's not quite perfect, though.
3c3
< xjust=0, yjust=1, merge=FALSE, ...)
---
> xjust=0, yjust=1, ...)
5,8c5,8
< xchar <- xinch(par("cin")[1])*par("cex")
< ychar <- yinch(par("cin")[2])*1.2*par("cex")
< xbox <- xinch(par("cin")[2]*0.8)*par("cex")
< ybox <- yinch(par("cin")[2]*0.8)*par("cex")
---
> xchar <- xinch(par("cin")[1])
> ychar <- yinch(par("cin")[2]) *...
2008 Nov 07
0
barplot can put legend in wrong place, request option to override that (PR#13265)
...ALSE,
! args.legend = NULL, ...)
{
if (!missing(inside)) .NotYetUsed("inside", error = FALSE)# -> help(.)
***************
*** 176,184 ****
angle <- rev(angle)
}
xy <- par("usr")
! legend(xy[2] - xinch(0.1), xy[4] - yinch(0.1),
! legend = legend.text, angle = angle, density = density,
! fill = legend.col, xjust = 1, yjust = 1)
}
title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...)
if(axes) axis(if(horiz) 1 else 2, cex.axis = cex.axis, ...)
--- 177,197 ----
an...
1997 May 11
2
R-alpha: Logarithmic scales
...t;bg"), xjust = 0, yjust = 1, ...)
{
xlog <- par("xlog")
ylog <- par("ylog")
if (xlog)
x <- log10(x)
if (ylog)
y <- log10(y)
xchar <- xinch(par("cin")[1])
ychar <- yinch(par("cin")[2]) * 1.2
xbox <- xinch(par("cin")[2] * 0.8)
ybox <- yinch(par("cin")[2] * 0.8)
yline <- 2 * xchar
w <- 2 * xchar + max(strwidth(legend))
h <- (length(legend) + 1) * ychar
if (missing(y)) {...
1999 May 17
1
Character height & width in user co-ordinates
Is there an equivalent to the S-PLUS par()$cxy in R?
Also, is it possible to get notice taken of some
equivalent of \n in R when using text()?
For what it is worth I am using RW-0.64.1.
John Maindonald email : john.maindonald at anu.edu.au
Statistical Consulting Unit, phone : (6249)3998
c/o CMA, SMS, fax : (6249)5549
John Dedman Mathematical
2003 Aug 20
0
SJava in R
...vars
anova
anova.glm
anova.glmlist
anova.glm.null
anovalist.lm
anova.lm
anova.lmlist
anova.lm.null
anova.mlm
any
aov
aperm
append
apply
approx
approxfun
apropos
Arg
args
array
arrows
as.array
as.call
as.character
as.character.default
as.character.factor
as.character.octmode
as.character.POSIXt
...
yinch
zapsmall
zip.file.extract
function call [objects('package:base')]
^
~
<
<<-
<=
<-
=
==
>
>=
|
||
-
:
::
!
!=
?
/
(
[
[<-
[[
[[<-
{
@
$
$<-
*
&
&&
%/%
%*%
%%
+
abbreviate
abline
abs
acos
acosh
add1
add1.default
add1.glm
add1.lm
add1.mlm
add.scope
add...
2010 Jan 12
1
barplot: border color when stacked
Dear R-users,
I am using R version 2.10.1 under windows.
In a barplot, I want to mark one of the bars with a special border color.
For example:
barplot(c(3, 7, 11), border = c(NA, "red", NA))
But how to do this when the bars are stacked?
for example:
barplot(matrix(1:6, ncol=3)) # border of second bar (i.e. the one with total height = 7) should be red again, I try:
barplot(matrix(1:6,
2008 Oct 16
1
draw a 5cm x 3cm rectangle
Hi I want to draw sth in a pdf file with a predefined defined size.
Say a 5cm x 3cm rectangle (a ruler):
pdf("rect.pdf", paper="a4")
plot(c(1,5,5,1,1),c(1,1,3,3,1),asp=1,axes="n")
dev.off()
but how do I fix that one unit is 1cm?
Thanks
thomas
2010 Nov 17
1
rasterImage and coordinate conversion
Hi, I have a plot and I would like to overlay a PNG image over it. I'm
using the rasterImage function to do this, but the problem I'm facing
is working out the coordinates of the upper right corner of the final
image in user coordinates.
That is I can place the image so the lower left is located at the
bottom of the y-axis and the left end of the x-axis. Since my image is
say 100px x
1997 Aug 25
0
R-alpha: barplot()
...names.arg))
for (i in 1:length(names.arg))
if (horiz)
axis(2, at = MID, labels = names.arg, lty = 0)
else
axis(1, at = MID, labels = names.arg, lty = 0)
}
if (!missing(legend.text) && !missing(col)) {
xy <- par("usr")
legend(xy[2] - xinch(0.1), xy[4] - yinch(0.1),
legend = rev(legend.text), fill = rev(col),
xjust = 1, yjust = 1)
}
title(main = main, xlab = xlab, ylab = ylab, ...)
if (axes)
if (horiz)
axis(1)
else
axis(2)
}
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing l...
2000 Jan 04
1
Alternative to cxy in R
good morning to the R-help list!,
I would like to ask if there is an alternative to the S ploting
parameter "cxy" in R. I am trying to port some S code to R that makes use
of this "cxy" parameter to scale the graphics, and I don't find this
parameter in help(par).
thank you,
IOsu
-------------------------------------------------------------------------------
Jes?s
1999 Jan 29
1
cex
Hi,
I was hoping someone could help me with this problem. I’m trying to produce
what can be referred to as L’Abbe plots, where a character (my preference
is a circle) is plotted at some specified co-ordinates and the size of the
character is proportional to a weighting variable. I’ve tried this
plot (x, y, type="n")
size <- weight/mean(weight)
for ( i in 1:length(x) ) { points
2008 Jun 05
0
bug in barplot.default (graphics) (PR#11585)
...p; !beside)) {
legend.text <- rev(legend.text)
legend.col <- rev(legend.col)
density <- rev(density)
angle <- rev(angle)
}
xy <- par("usr")
legend(xy[2] - xinch(0.1), xy[4] - yinch(0.1), legend =3D legen=
d.text,
angle =3D angle, density =3D density, fill =3D legend.col,
xjust =3D 1, yjust =3D 1)
}
title(main =3D main, sub =3D sub, xlab =3D xlab, ylab =3D ylab,
...)
if (axes)
axis(if (horiz)...
2001 Aug 27
1
colorbar legend for image()
Hi,
are there any plans to add a colorbar legend to image()?
Or such a possibility already implemented which I just haven't
discovered yet. Anyway, I will be willing to spent some time on the
implementation if there isn't anyone working on that already.
Thanks
Thomas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read
2005 Apr 18
1
R-2.1.0 is released
...simple matrices and data frames this is several times
faster than before, and uses negligible memory compared to the
object size.
The old version (which no longer coerces a matrix to a data
frame and then back to a matrix) is available for now as
write.table0().
o The functions xinch(), yinch(), and xyinch() have been moved
from package 'grDevices' into package 'graphics'.
o Plotmath now allows underline in expressions. (PR#7286,
contributed by Uwe Ligges.)
o BATCH on Unix no longer sets --gui="none" as the X11 module
is only loaded if needed....
2005 Apr 18
1
R-2.1.0 is released
...simple matrices and data frames this is several times
faster than before, and uses negligible memory compared to the
object size.
The old version (which no longer coerces a matrix to a data
frame and then back to a matrix) is available for now as
write.table0().
o The functions xinch(), yinch(), and xyinch() have been moved
from package 'grDevices' into package 'graphics'.
o Plotmath now allows underline in expressions. (PR#7286,
contributed by Uwe Ligges.)
o BATCH on Unix no longer sets --gui="none" as the X11 module
is only loaded if needed....