Displaying 8 results from an estimated 8 matches for "pixmapindexed".
2004 Jul 12
1
pixmapIndexed color question
Hi
I use pixmapIndexed
tmp.vimp <- array(0,c(x.dim,y.dim))
tmp.vimp <- pixmapIndexed(tmp.vimp, col=rainbow)
to plot values of a 2D matrix. I 'fill' the pixmapIndexed like:
for (x in 1:x.dim) {
for (y in 1:y.dim) {
tmp.vimp at index[x,y] <- my.matrix[x,y]
}}
ho...
2003 Sep 26
2
overlay two pixmap
Hi
I need to overlay two pixmaps (library (pixmap)). One, a pixmapGrey, is
the basis, and on this I need to overlay a pixmapIndexed, BUT: the
pixmapIndexed has set only some of its "pixels" to an indexed color,
many of its pixels should not cover the basis pixmapGrey pixel, means,
for this "in pixmapIndexed not defined pixels" it should be transparent.
What would you recommend me to do? Should I go for anot...
2004 Aug 25
1
Pixmap problem
Hi,
I'm having trouble writing .pnm images which I think is due to a problem
with my colour space. The pixmap object seems to be looking for 72 of 8
colours (one per cell?) which doesn't seem healthy...
> library(pixmap)
> x <- pixmapIndexed(rep(1:8, 9), nrow=6, col=rainbow(8))
> x
Pixmap image
Type : pixmapIndexed
Size : 6x12
Resolution : 1x1
Bounding box : 0 0 12 6
Nr. of colors : 72 of 8
> write.pnm(x, file="D:/Temp/output.pnm")
Error in options(x) : evaluation nested too deeply:...
2009 May 18
1
S4 method dispatch and namespaces: why is default method selected
...t;, y="ANY"
> selectMethod("plot", signature(x="pixmap", y="missing"))
Method Definition:
function (x, y, ...)
{
.local <- function (x, y, xlab = "", ylab = "", axes = FALSE,
asp = 1, ...)
{
x = as(x, "pixmapIndexed")
X <- seq(x at bbox[1], x at bbox[3], by = x at cellres[1])
Y <- seq(x at bbox[2], x at bbox[4], by = x at cellres[2])
image(x = X, y = Y, z = t(x at index[nrow(x at index):1, ,
drop = FALSE]), col = x at col, xlab = xlab, ylab = ylab,
axe...
2008 May 23
1
seeing an S4 method, not using it
...object), "\n")
cat(" Size :", paste(object at size, collapse = "x"),
"\n")
cat(" Resolution :", paste(object at cellres, collapse = "x"),
"\n")
cat(" Bounding box :", object at bbox, "\n")
if (is(object, "pixmapIndexed"))
cat(" Nr. of colors :", length(unique(as(object at index,
"vector"))), "of", length(object at col), "\n")
cat("\n")
}
<environment: 0x89b0e38>
Signatures:
object
target "pixmap"
defined "pixmap"
More surprisingly...
2003 Sep 30
2
using identify() together with plot () and pixmap()
Dear R users
I have a two-dimensional array, whose values I want to plot, using the
pixmapGrey class. Plotting works fine, and now I would like to be able
to identify some of the points in the plot using identify(). But I get
the following message while pressing the left mouse button:
> plot(pixmapGrey(fmri.vtc[,,slice,volume]))
> identify(fmri.vtc[,,slice,volume])
warning: no point with
2002 Jul 22
2
finding the colour at a point
I think this was asked recently but I can't find the item.
Is it possible to find the colour at a point on a graphics page?
I want to estimate the area of a complex shape by colouring it then random
sampling from an enclosing box ...
Richard Rowe
Richard Rowe
Senior Lecturer
Department of Zoology and Tropical Ecology, James Cook University
Townsville, Queensland 4811, Australia
fax (61)7
2004 Jul 12
0
Where does R search when source() ?
...te and continuous variable
| (Jonathan Baron)
| 32. lme unequal random-effects variances varIdent pdMat Pinheiro
| Bates nlme (Jacob Wegelin)
| 33. Re: Association between discrete and continuous variable
| (Murray Jorgensen)
| 34. Nested source()s (Murray Jorgensen)
| 35. pixmapIndexed color question (Christoph Lehmann)
|
|
| ----------------------------------------------------------------------
|
| Message: 1
| Date: Sun, 11 Jul 2004 13:10:36 +0200
| From: Martin Wegmann <wegmann_mailinglist at gmx.net>
| Subject: [R] Fwd: newsletter
| To: "R-list" <r-help at...