search for: rgb

Displaying 20 results from an estimated 1040 matches for "rgb".

Did you mean: 4gb
2010 Oct 03
1
Problem starting new game "War of Angels" - no 3d I guess
...;d like to put a screenshot here but didn't find any option to. I'm using gentoo, ati-drivers-10.9 and the version of kernel is 2.6.35. Other games like Anno or WoW (with opengl) work fine. Here's the output which I was able to copy of starting the game: Code: xture to reload it as srgb fixme:d3d_surface:IWineD3DSurfaceImpl_LoadLocation 0xa933028: Downloading rgb texture to reload it as srgb fixme:d3d_surface:IWineD3DSurfaceImpl_LoadLocation 0xa9327c8: Downloading rgb texture to reload it as srgb fixme:d3d_surface:IWineD3DSurfaceImpl_LoadLocation 0xa933028: Downloading rgb texture...
2004 Sep 15
7
Splitting vector into individual elements
Is there a means to split a vector into its individual elements without going the brute-force route for arguments to a predefined function call? offred.rgb <- c(1, 0, 0) * 0.60; ## Brute force style offred.col <- rgb(offred.rgb[1], offred.rgb[2], offred.rgb[3], names = "offred") ## Desired style offred.col <- rgb(silver.bullet(offred.rgb),...
2016 May 11
2
[Openmp-dev] [cfe-dev] RFC: Proposing an LLVM subproject for parallelism runtime and support libraries
2016 May 11
2
[Openmp-dev] [cfe-dev] RFC: Proposing an LLVM subproject for parallelism runtime and support libraries
2016 Apr 04
2
multiple bar plot annotation text labelling
...quot;> <g> <g id="id1" class="Slide" clip-path="url(#presentation_clip_path)"> <g class="Page"> <g class="com.sun.star.drawing.CustomShape"> <g id="id3"> <path fill="rgb(114,159,207)" stroke="none" d="M 4350,3000 L 3000,3000 3000,2100 5700,2100 5700,3000 4350,3000 Z"/> <path fill="none" stroke="rgb(52,101,164)" d="M 4350,3000 L 3000,3000 3000,2100 5700,2100 5700,3000 4350,3000 Z"/> &lt...
2004 Sep 17
1
Confused about specifying plot colors as RGB values
Based on reading 'rgb' documentation, I would have thought the following would have produced identical results. Can someone explain how to make this happen? I need to be able to specify an array of rgb values for the 'col' parameter. colnames.col <- c("black", "red", "blue"...
2012 Jul 10
2
RGB components of plot() colours
A quick question: Is there anywhere a listing of the RGB components of the named colours listed by colors()? For example, where would I find the RGB for "orange1" or "salmon"? When I look at an EPS file from R where I have used these colours, it seems that for: "salmon": 0.9804 0.5020 0.4471 rgb "orange1": 1 0....
2016 Apr 04
0
multiple bar plot annotation text labelling
...quot;> <g> <g id="id1" class="Slide" clip-path="url(#presentation_clip_path)"> <g class="Page"> <g class="com.sun.star.drawing.CustomShape"> <g id="id3"> <path fill="rgb(114,159,207)" stroke="none" d="M 4350,3000 L 3000,3000 3000,2100 5700,2100 5700,3000 4350,3000 Z"/> <path fill="none" stroke="rgb(52,101,164)" d="M 4350,3000 L 3000,3000 3000,2100 5700,2100 5700,3000 4350,3000 Z"/> <...
2009 Nov 14
2
[LLVMdev] Very slow performance of lli on x86
...ude <stdio.h> //#include <stdlib.h> //#include <sys/types.h> //#include <time.h> #define ACC_SIZE 1024 /* * Definitions */ typedef union { struct { unsigned short b; unsigned short g; unsigned short r; unsigned short a; } RGB; struct { unsigned short u; unsigned short v; unsigned short y; unsigned short a; } YUV; } GenefxAccumulator; extern void Xacc_blend_invsrccolor( int , GenefxAccumulator* , GenefxAccumulator , GenefxAccumulator* ); extern void Dacc_premultiply( int...
2008 Feb 05
2
using image to show RGB image data ?
Hello all, I'm now using image() to show image data (in my case dumps of SOM weights) but would like to show RGB colour data, not just single "z" colour values. I've currently been using seq() to skip 4 values, so I can show the R, G or B channels separately as "z". But is there a way I can show all three channels simultaneously as a proper colour image? Thanks, B. Bogart
2011 Aug 09
1
Transparent color ramp problem
...create transparent colour ramps? I am attempting to map shaded relief under elevation data. I know I can use the terrain.colors() with the alpha option, but I would prefer to create my own colour ramp using more vibrant colours. My most recent attempt at doing this involved generating multiple rgb colours with transparency (alpha = 0.5) and then combining these colours using colorRampPalette(). I am able to use the resulting colour ramp, but it has no transparency. # Make terrain colour ramp rgb7 <- rgb(red=0, green=255, blue=77, alpha = 0.5, maxColorValue = 255) rgb8 <-...
2009 Nov 14
0
[LLVMdev] Very slow performance of lli on x86
...ude <stdio.h> //#include <stdlib.h> //#include <sys/types.h> //#include <time.h> #define ACC_SIZE 1024 /* * Definitions */ typedef union { struct { unsigned short b; unsigned short g; unsigned short r; unsigned short a; } RGB; struct { unsigned short u; unsigned short v; unsigned short y; unsigned short a; } YUV; } GenefxAccumulator; extern void Xacc_blend_invsrccolor( int , GenefxAccumulator* , GenefxAccumulator , GenefxAccumulator* ); extern void Dacc_premultiply( int...
2011 Nov 02
3
palettes for the color-blind
Everyone, I'm working with scatter plots with different colored symbols (via lattice). I'm currently using these colors for points and lines: col1 <- c(rgb(1, 0, 0), rgb(0, 0, 1), rgb(0, 1, 0), rgb(0.55482458, 0.40350876, 0.04166666), rgb(0, 0, 0)) plot(seq(along = col1), pch = 16, col = col1, cex = 1.5) I'm also using these with transparency (alpha between .5-.8 depending on the number of points). I'd like to make...
2012 Dec 17
2
How to get transparent colors to sum to complete opacity?
...iates, so when these dots are scattered all around, I want them to be somewhat transparent. But it seems clear that transparency isn't additive. For example, four dots with transparency set to .25 don't add to complete opacity: x = c(1,1,1,1) y = c(1,1,1,1) w = .25 plot(x,y,pch=16,col=rgb(0,0,1,.25,maxColorValue=1),cex=3,xlim=c(.8,2)) My question is the following: what function would I transform "w" by to make it so that 4*f(w) = fully opaque? The following would suggest f(w) = w^.5, but I'd appreciate if someone could confirm for applications outside this little e...
2010 Oct 21
1
gam plots and seWithMean
...lm(y~offset(log(t))+x1+x2+x3,poisson) f2<-gam(update.formula(as.formula(f1),~.+s(d)),poisson) anova(f1,f2) summary(f2) plot(f2) #the solid line s(d) dat<-data.frame(t,d,x1,x2,x3) datn<-transform(dat,d=0) dif<-predict(f2)-predict(f2,datn) cdif<-dif-mean(dif) points(d,cdif,cex=0.5,col=rgb(0,1,0,0.2)) #another approach to the solid line s(d) devAskNewPage(ask=T) plot(f2) premat2<-PredictMat(f2$smooth[[1]],data=dat) dim(premat2) pars<-f2$coef pars2<-pars[5:13] pars2<-as.matrix(pars2,9,1) pars2 points(d,premat2%*%pars2,cex=0.5,col=rgb(0,0.6,0.3,0.2)) #premat2%*%pars2 = cdi...
2000 Dec 15
1
Colour to RGB value?
There are a lot of ways to specify colours in R plot functions (number from the palette, by name, etc.). I'd like to pass a colour from an R function to an external function, and I'd like it to have the same flexibility. To avoid having to interpret all possible colour specifications myself, I need a function to convert a general colour specification into a standard form (e.g. r,g,b
2012 Aug 01
2
How to increase lenght of axis according input data?
Hi, I am working on barplot. I need to plot x-axis but scale on x axis is very upto 15 while my data is upto 19. pdf("image.pdf", width=10 , height =13) par(mar=c(5,22.5,2,2)) barplot(t(data[,2:3]), beside=TRUE, col=c(rgb(.537, .769, .933),rgb(.059, .412, .659)), width = 1, horiz=TRUE,cex.names=.9, border ="white",las=1, cex.axis= 1, cex.lab=1.2) legend("topright", c("X","Y"), cex=1.5, bty="n", fill = c(rgb(.059, .412, .659),rgb(.537, .769, .933))); abline(v = 0, lwd...
2016 May 09
4
[cfe-dev] [Openmp-dev] RFC: Proposing an LLVM subproject for parallelism runtime and support libraries
On Mon, May 9, 2016 at 12:04 PM Andrey Bokhanko via cfe-dev < cfe-dev at lists.llvm.org> wrote: > Thanks Jason (and Chandler) to tell Chandler's opinion, though it still > doesn't answer my original question: > > > > Both SE and libomptarget are libraries that handle offloading, not > parallelism. I understand other libraries, to be added in the future, might
2007 Mar 08
2
alpha parameter in function rgb to specify color
Hi All, In function "rgb", alpha parameter is supposed to set the transparency value. But in my following two examples, it didn't work: plot(1,col = rgb(1,0,0,alpha =0.8)) # as long as alpha < 1, there is no point in the plot. plot(1,col = rgb(0,0,255, alpha=254, maxColorValue=255)) # as long as alpha < 25...
2006 Aug 01
2
rgb and col2rgb color conversion/modification/shading
I want to get a lighter shade of a color...I have a lot of colored objects and want each one printed as a foreground against a slightly lighter background. I thought I could try something like changing the alpha channel by first converting it to rgb. But prior to trying that, I'm stuck with how to get the color after converting using col2rgb() to be interpreted again as a color, rather than a simple vector? Anyone have any help/ or alternative suggestion... Thanks, -c ---------------------- TRYING WITH A SINGLE COLOR: mycol<-"...