similar to: exact relative positioning of lattice plots

Displaying 20 results from an estimated 3000 matches similar to: "exact relative positioning of lattice plots"

2006 Jun 12
1
strange behaviour with rotated viewports in grid
Dear all, I am having a problem using grid when rotating a viewport. It seems to plot everything on a grey background colour which I am not able to get rid 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,
2010 May 15
0
No subject
family having (several?) different video decode engine. The only work I know about is an initial support for mpeg2 decode engine on nv40 : http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?h=3Dnvfx-vpe&id=3D538= d6ef8aac1cd861f6336e24e79a315fe58aba0 And afaik, the other engines are mostly unknown (no RE and no code). Some of these details could be wrong, in that case hopefully someone can
2005 May 31
2
Problem going back to a viewport with gridBase
I am setting up base plots -- one in viewport A and and one in B. This part works fine. But if I go back to A after having done B and add horizontal lines it seems to not use the correct coordinates. How do I tell it to resume using A's coordinates? I am already using par(fig = gridFIG()) but it seems that that's not enough to reestablish them. What happens is that when I go back to
2005 May 31
2
Problem going back to a viewport with gridBase
I am setting up base plots -- one in viewport A and and one in B. This part works fine. But if I go back to A after having done B and add horizontal lines it seems to not use the correct coordinates. How do I tell it to resume using A's coordinates? I am already using par(fig = gridFIG()) but it seems that that's not enough to reestablish them. What happens is that when I go back to
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
2007 Dec 26
1
seekViewport error
Why does the seekViewport at the bottom give an error? > xyplot(Sepal.Length ~ Sepal.Width, iris, group = Species, col = 11:13, + auto.key = TRUE) > grid.ls(view = TRUE) ROOT GRID.rect.89 plot1.toplevel.vp plot1.xlab.vp plot1.xlab 1 plot1.ylab.vp plot1.ylab 1 plot1.strip.1.1.off.vp GRID.segments.90 1 plot1.strip.left.1.1.off.vp
2001 Sep 21
2
new versions of grid and lattice
Hi There are new versions of the grid and lattice packages on CRAN: grid 0.2 and lattice 0.3-0 These packages are still _under development_ (they are in CRAN/src/contrib/Devel) There have been some bug fixes and, especially in lattice, there are lots of new features. Descriptions of the changes are included below. If you have any grid code, it may break under the new version because of a
2001 Sep 21
2
new versions of grid and lattice
Hi There are new versions of the grid and lattice packages on CRAN: grid 0.2 and lattice 0.3-0 These packages are still _under development_ (they are in CRAN/src/contrib/Devel) There have been some bug fixes and, especially in lattice, there are lots of new features. Descriptions of the changes are included below. If you have any grid code, it may break under the new version because of a
2008 Sep 19
1
Lines between panels in lattice
Hello, I have a multi-page display each consisting of two-panels above each other. I need to draw a line from the top panel to bottom panel. Using current.vpTree() i find that "plot1.panel.1.2.vp" and "plot1.panel.1.1.vp" are the top and bottom ones respectively. I am using the following code(inspired by Paul Murrell's R Graphics) to draw a line. (All the
2004 Nov 19
0
Legend
I have recently converted from S-Plus (Dec Alpha) to R (Mandrake 10.0). The differences are subtle but in some cases not easily converted. My Splus Command plotting deck was over 1200 lines and R has simplified this down to 900 lines so far. I do a lot of mapping with polygons and I am trying to figure out how to increase the default size of the fill boxes in the legend call. Splus had a
2009 Mar 31
1
viewport bug in 2.8.0?: Error: Cannot pop the top-level viewport (grid and graphics output mixed?)
I get the following error message followed by instability in R after the error message: Error: Cannot pop the top-level viewport (grid and graphics output mixed?) Have reduced something much more complex in my code to a simple test case. I run the following and then resize the window: X = seq (1,10) Y = X^2 opar <- par(no.readonly=TRUE, mar = c(2.5, 3.1, 1, 2)) grid.newpage()
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
2012 Oct 21
1
Navigating a grid.
Greetings I am trying to make a multiple panel plot from a tool (genoPlotR) that is layered on grid. My code and session info are below. When I execute the code, I get a single plot in the center of the graphics page. I have tried various pop/push/down/seekViewport commands at the end of the plotpush method. There must be something I'm missing in the documentation, I believe what I
2008 Aug 17
1
Making use of names of viewports (grid)
The following code, though not brilliant, works on an A4 page. It might look odd on other devices of a very different size. =============X8------- cut here ---------------------------- require(grid) wide <- 15 vps <- grid.layout(nrow = 3, ncol = 4, widths = unit(rep(1, 4), rep("null", 4)), heights = unit(c(99, 1, 99),
2008 Sep 19
0
Fwd: Lines between panels in lattice
Forgot to send to the list. Begin forwarded message: > From: Saptarshi Guha <saptarshi.guha@gmail.com> > Date: September 19, 2008 1:43:50 PM GMT-04:00 > To: Gabor Grothendieck <ggrothendieck@gmail.com> > Subject: Re: [R] Lines between panels in lattice > > Certainly. > > x=cbind(runif(10),rnorm(10),c(rep(1,5),rep(2,5))) >
2006 Apr 06
2
key position in trellis plotting area
Hi, I want to do the following: 1) create a trellis plot with 1 x 1 layout 2) add a key in the upper right hand corner of the plotting region (i.e., the panel), but after the initial call to trellis 3) resize the resulting device graphics device without changing the relative position of the key For instance, the code below draws the key relative to the device window--not the plotting area.
2005 Oct 03
2
grob questions
If I run the following example from: http://www.stat.auckland.ac.nz/~paul/grid/doc/grobs.pdf > grid.newpage() > pushViewport(viewport(w = 0.5, h = 0.5)) > myplot <- gTree(name = "myplot", children = gList(rectGrob(name = "box", + gp = gpar(col = "grey")), xaxisGrob(name = "xaxis"))) > grid.draw(myplot) >
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
2005 Oct 16
1
prototype help needed - how to get started
Hello, Despite Sergio''s excellent documentation on prototype, I’m still struggling to get started. I hope somebody is able to help me a with a little example to get me going. Please see html code below – I have this little navigation bar and I like to add some events/functions to the buttons. Let’s say, onmouseover, I like to change e.g. the background-color of the button and
2008 Aug 08
2
gridBase and new.page() / grid.newpage()
Hello all, I'm trying to write a function using the gridBase package. I'd like to push several base subplots to a larger plot constructed with grid. However, I'm having trouble getting consistent results when running the function when the plotting window (quartz) is closed, when it is left open and the plot function is repeated to the same window, and when the output is saved to a