Displaying 5 results from an estimated 5 matches for "3d3d3d".
2008 Sep 04
1
showing the image
Hi everyone,
I have a matrix containing color values of an image same as following,
[1,] "#444444" "#444444" "#434343" "#404040" "#3D3D3D" "#3D3D3D" "#3E3E3E"
[2,] "#414141" "#414141" "#414141" "#404040" "#3F3F3F" "#3F3F3F" "#3F3F3F"
[3,] "#3E3E3E" "#3E3E3E" "#3F3F3F" "#404040" "#404040" &qu...
2011 Jan 31
1
str() on raster objects fails for certain dimensions
...uot;[.raster"() is coded; when
subsetting as a vector, which str() relies on, "[.raster"() still
returns a matrix-like object, e.g.
> img <- as.raster(1:25, max=25, nrow=5, ncol=5);
> img[1:2]
[,1] [,2] [,3] [,4] [,5]
[1,] "#0A0A0A" "#3D3D3D" "#707070" "#A3A3A3" "#D6D6D6"
[2,] "#141414" "#474747" "#7A7A7A" "#ADADAD" "#E0E0E0"
compare with:
> as.matrix(img)[1:2]
[1] "#0A0A0A" "#3D3D3D"
The easy but incomplete fix is to do:
st...
2006 Jun 14
3
Trouble Configuring NUT with Gamatronic USB
Hi
I am running FC5 with nut coming from the fc5 extras repositories. I
am trying to configure a Gamatronic D-Compact ups. The cable that came
with the ups has a serial connector on one end and a usb on the other.
cat /proc/bus/usb/devices produces
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 4 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P:
2006 Dec 26
4
vectorizing an iterative process.
Hi Everyone,
I am stuck with a simple problem. Suppose I have a vector x, and I want
to calculate y[i]=3Dx[i+1]-x[i], it is very easy. I just need to write
y<-x[2:length(x)]-x[1:length(x)-1].
Now if I know y, and want to know the vector x defined by
x[i]=3Dx[i-1]+y[i-1] for all i, how can I do this without a loop?
Thanks,
Geoffrey
PS. Sorry if you see a duplicate message. The previous
2000 Feb 29
0
mapping of colornames into hsv: half way done
...t;gray18", "#2E2E2E",
"gray19", "#303030",
"gray20", "#333333",
"gray21", "#363636",
"gray22", "#383838",
"gray23", "#3B3B3B",
"gray24", "#3D3D3D",
"gray25", "#404040",
"gray26", "#424242",
"gray27", "#454545",
"gray28", "#474747",
"gray29", "#4A4A4A",
"gray30", "#4D4D4D",
"gray31...