search for: vp1

Displaying 20 results from an estimated 66 matches for "vp1".

Did you mean: v1
2006 May 11
1
Bug in viewport handling?
Hi, Is the following an (unknown) bug? Rhythmbox (RB) has an option for using a icon-tray. Restoring/minimizing to the tray in combination with switching viewports (VP) seems to confuse compiz. Steps to reproduce: 1. Start RB on VP1. 2. Minimize to tray. 3. Change to VP2. 4. Click the tray icon to restore. Result: RB is restored to VP2, while compiz changes to VP1. Subsequent clicking on the tray icon causes RB to minimize to tray while compiz stays on VP1. Clicking tray again causes compiz to change to VP2 and RB to restore...
2008 Mar 08
1
ask for help on nonlinear fitting
I have a table like the following. I want to fit Cm to Vm like this: Cm ~ Cl+Q1*b1*38.67*exp(-b1*(Vm-Vp1)*0.03867)/(1+exp(-b1*(Vm-Vp1)*0.03867))^2+Q2*b2*38.67*exp(-b2*(Vm-Vp2)*0.03867)/(1+exp(-b2*(Vm-Vp2)*0.03867))^2 I use nls, with start=list(Q1=2e-3, b1=1, Vp1=-25, Q2=3e-3, b2=1, Vp2=200). But I always get 'singlular gradient' error like this. But in SigmaPlot I can get the result. How can...
2006 Apr 06
2
key position in trellis plotting area
...n(R^2),as.character(rep(0.999,5)),""),cex=c(1.2,1,1 ,1,1,1,0.2))) keyArgs$between <- c(1,0,5) keyArgs$background <- "white" keyArgs$border <- TRUE drawKeyArgs <- list(key=keyArgs,draw=FALSE) keyArgs$draw <- FALSE key <- do.call("draw.key",drawKeyArgs) vp1<-viewport(x=1,y=1,height=unit(1,"grobheight",key),width=unit(1,"grobwidt h",key),just=c("right","top")) pushViewport(vp1) grid.draw(key) popViewport() If I embed the call to draw.key into the panel function, where presumably the plotting area is the...
2012 Sep 27
1
Problem with grid.rect
I have a stupid problem that is currently driving me crazy... Let us suppose that I want to draw a big red square in the middle of my current device (say X11) I tried the following code : pushViewport(viewport(xscale=c(0,1), yscale=c(0,1)), just=c("center", "center")) vp1 <- viewport(x=unit(0.5, "native"), y=unit(0.5, "native"), width=unit(0.4, "native"), height=unit(0.4, "native"), just=c("center", "center")) grid.rect(x=unit(0, "snpc"), y=unit(0, "snpc"), width=unit(1, "snpc&qu...
2001 Sep 21
2
new versions of grid and lattice
...ce for pop.viewport(). This now just takes a number of viewports to pop, which defaults to 1. For example ... push.viewport(viewport()) pop.viewport(current.viewport()) ... becomes ... push.viewport(viewport()) pop.viewport() ... and ... vp1 <- viewport() vp2 <- viewport() push.viewport(vp1, vp2) pop.viewport(vp2, vp1) ... becomes ... vp1 <- viewport() vp2 <- viewport() push.viewport(vp1, vp2) pop.viewport(2) 12. Speed-up of pushing and popping viewports. This...
2001 Sep 21
2
new versions of grid and lattice
...ce for pop.viewport(). This now just takes a number of viewports to pop, which defaults to 1. For example ... push.viewport(viewport()) pop.viewport(current.viewport()) ... becomes ... push.viewport(viewport()) pop.viewport() ... and ... vp1 <- viewport() vp2 <- viewport() push.viewport(vp1, vp2) pop.viewport(vp2, vp1) ... becomes ... vp1 <- viewport() vp2 <- viewport() push.viewport(vp1, vp2) pop.viewport(2) 12. Speed-up of pushing and popping viewports. This...
2012 Jun 20
2
exact relative positioning of lattice plots
...page. Here is a small demonstration: # Load packages library(grid) library(lattice) # Create layout and viewport masterLayout <- grid.layout( nrow = 3, ncol = 1, heights = unit(c(1, .5, 1), c("null", "inches", "null")), respect = matrix(c(0, 1, 0))) vp1 <- viewport(layout.pos.row = 1, name = "vp1", just = c("center", "bottom")) vp2 <- viewport(layout.pos.row = 2, name = "spacer") vp3 <- viewport(layout.pos.row = 3, name = "vp3", just = c("center", "top")) #...
2006 Apr 06
3
skipping rows in trellis key
Hi, I would like to add a key to my trellis plot using draw.key. Here is what I want: 3 x 6 key where the first row is a header. row 1: empty, "S-R Mapping", "R^2" row 2: pch=17, "Color", 0.951 row 2: pch=17, "Shape", 0.934 ect... The problem is that I would like the cell in the upper left corner to be empty (a placeholder) with the remaining
2010 May 15
0
No subject
...up via svideo, but the vertical hold seems to be gone on the tv? How may I fix this? 23:49 < jb17bsome> ymanton, You mean the windows nv purevideo support (non-vdpau)? 23:49 < cjae> I too havent seen this since analog tvs 23:51 < ymanton> jb17bsome: yeah, i think they do parts of vp1 and h264 on nv40 on windows 23:51 < ymanton> er, vc1* 23:52 < jb17bsome> ymanton, well, I checked that a while ago on nv49 on windows. vpe wasn't touched for h.264. 23:53 < ymanton> yeah, they use the purevideo hw. goes through PFIFO apparently along with 2d/3d, according to...
2009 Jul 21
2
animated grid graphics
I need to make a fairly complex animated graphic and decided to use grid for it. A very simple example of what I need: ##============================================================================== library(grid) grid.newpage() pushViewport(plotViewport()) pushViewport(viewport(xscale = extendrange(c(0, 100)), yscale = extendrange(c(0, 100)))) grid.xaxis() grid.yaxis()
2006 May 16
3
multiple plots in a function()
Dear all, I have the following problem: I have written a function genereating to plots, eg myfunction <- (data, some.parameters) { #some calculations etc . par (mfrow=c(1,2)) plot1(......) plot2(.....) } which works fine. But for analysing several variants, I tried a slope, eg: par (mfrow=c(5,5)) for ( i in 1:10) { myfunction(data, i) } Off
2006 Jun 12
1
strange behaviour with rotated viewports in grid
...of. Even book examples such as that that plot figure 5.10 in P. Murrell's R Graphics book show the same behaviour. The following example illustrates this issue. I would appreciate if anyone has a way to solve this. Best regards, r. pushViewport(viewport(width=0.9,height=0.9,name="vp1")) grid.rect() pushViewport(viewport(width=0.3,height=0.9,angle=0,name="vp2")) grid.rect() upViewport() pushViewport(viewport(width=0.3,height=0.9,angle=10,name="vp3")) grid.rect() Dr. Rafael Najmanovich European Bioinformatics Institute Wellcome Trust Genome Campus Cambr...
2013 Feb 08
1
help with double looping
hi there, I have a dataframe in the shape vA1, vA2,..., vA11, vB1, vB2,..., VB11,......., VP1, VP2,...., VP11 (so 16 times a sequence of 11 variables) I am trying to build a double loop so that i can apply the function (i-1)*v(i) to the first 10 variables, then the same for the next 10 variables, etc... 16 times. I have tried the following with no luck: iscores<-list() for (j in seq(1,...
2004 Nov 19
0
Legend
...trellis.par.set("background",background) caption<-"Figure 4: Time series of sampling depths for 4VW summer surveys. Numbers\nin strip panels indicate strata locations. Closed circles represent one sampled\nstation." #function format.figure<-function(latticePlot,caption){ vp1<-viewport(x=0,y=.08,width=1,height=.8,just=c("left","bottom")) vp2<-viewport(x=0,y=0,width=1,height=.06,just=c("left","bottom")) pushViewport(vp1) print(latticePlot,newpage=F) # grid.rect() popViewport(1) pushViewport(vp2) grid.text(capti...
2004 Jul 16
1
Fixed and random factors in aov()
...n aov() term. I tried to reproduce a textbook example: One fixed factor (Game, 4 levels) and one random factor (Store, 12 levels), response is Points. The random factor Store is nested in Game. I tried > str(kh.df) `data.frame': 48 obs. of 4 variables: $ Subj : Factor w/ 48 levels "vp1","vp10","vp11",..: 1 12 23 34 44... $ Game : Factor w/ 4 levels "S1","S2","S3",..: 1 1 1 1 1 1 1 1 ... $ Store : Factor w/ 12 levels "KH1","KH10","KH11",..: 1 1 1 1 5 ... $ Points: num 7 9 12 7 6 5 8 6 9 6...
2006 Jun 23
5
[PATCH] [HVM] Fix virtual apic irq distribution
Fix virtual apic irq distribution. But currently we inject PIT irqs to cpu0 only. Also mute some warning messages. Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com> Signed-off-by: Xin Li <xin.b.li@intel.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2012 Nov 01
2
[PATCH 0/2] New inspect_list_applications2 API
Here's the new API method and update to virt-inspector. I still need to implement app_arch for debian and windows (if applicable), for now they just return empty strings.
2014 Nov 26
1
Second copy engine on GF116
...o ask: are there any more FIFO engines we somehow missed on Fermi+? There's apparently a new VIC class (0xa0b6), but I've never seen a VIC other than the MCP89 one (0x86b6). AFAICS there's also one unknown enum value in NVRM's FIFO engine enum... (I know of GRAPH, CE0, CE1, CE2, VP1/VP2/MSPDEC, MSRCH/ME, MSPPP, BSP/MSVLD/MSDEC, MPEG, SOFTWARE, CIPHER/SEC, VIC, MSENC). > >> Curiously, a GF116 card that I thought was working fine on nouveau >> actually has 3 for the first engine and 4 for the second. Perhaps it >> just had enough VRAM that I never triggere...
2011 Jul 15
2
plot a vertical column of colored rectangles
Hi, I've been really struggling with this. If I have a vector like dat <- c(0,0,0,0,1,1,1,0,0,0,1,1,0,0,0,1,0,0,0) I want to plot each element as a colored rectangle (red=1, blue=1) in the right order, so they all stack up forming a vertical column on the graph. Sort of like a building, with each floor in the appropriate color. Any ideas? I've tried using ggplot and geom_tile, but my
2019 Feb 19
2
Re: [PATCH nbdkit 4/4] Add linuxdisk plugin.
...fter all and exit on error? > + > +/* To identify hard links we sort the files array by device and inode > + * number (thus hard linked files will be next to each other after the > + * sort). Hence this odd sorting function. > + */ > +static int > +compare_inodes (const void *vp1, const void *vp2) > +{ > + const struct file *f1 = vp1; > + const struct file *f2 = vp2; > + > + if (f1->statbuf.st_dev < f2->statbuf.st_dev) > + return -1; > + else if (f1->statbuf.st_dev > f2->statbuf.st_dev) > + return 1; > + else { > +...