Displaying 20 results from an estimated 3000 matches similar to: "Patch to fix unminimizing windows on other viewports."
2007 Apr 11
3
incomplete window contents when unminimizing
Hi,
Using Xgl, when a window is unminimized, sometimes (especially with
Firefox), the window contents are not immediately visible (partially
or completely) until an unminimize animation is completed. That is,
sometimes there are empty (transparent) rectangles within the window
(maybe corresponding to some Mozilla controls), and sometimes the
whole window is empty (only the decoration is visible).
2008 Jan 15
1
navigating ggplot viewports
list(...)
I can not get at the grid viewports in a ggplot2 plot.
I know there is supposed to be a viewport called "panel_1_1" but
downViewport() can't find it. Has the viewport been popped?
I had a quick look at the functions involved (eg ggplot_plot)
but there is no obvious problem there.
> library(ggplot2)
> qplot(1:10, 1:10)
> current.viewport()
viewport[ROOT]
>
2007 Oct 24
1
Rotated viewports in Grid
Hi all,
I'm trying to generate a plot containing a scatterplot, with marginal
densityplots for x and y.
However, when I try to generate a vertical densityplot, I get the
message "warning: can't clip to rotated viewport", and nothing shows
up. I'm probably misunderstanding how viewports are meant to be used,
so if someone could give me a hint, I'd be most grateful.
my
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),
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,
2009 May 14
1
Problem with viewports, print.trellis and more/newpage
Dear R-users,
I have got the following problem. I need to create 4x2 arrays of
xyplot's on several pages. The plots are created within a loop and
plotted using the print function. It seems that I cannot find the proper
grid syntax with my viewports, and the more/newpage arguments.
The following script is a simplification but hopefully will suffice to
illustrate my problem. Any suggestion
2007 Mar 25
1
controlling panel.width and panel.height in viewports
Dear all,
I'm trying to get a series of lattice levelplots to appear in
viewports in a particular way but struggling to exert fine control
over their appearence. There are two conditions: (a) I only want the
levelplot to appear (I don't want axes, colour key, etc) in the
viewport and (b) I want the levelplot to expand to the maximum
allowable space in the viewport while observing
2005 Oct 03
1
Grid: constructing a gTree with grobs that use named viewports from a vpTree
I'm trying to create a layout with named viewports that I can use for
other functions. I create the viewport tree that I want, and a list
of grobs with the viewports describing where they should go.
library(grid)
vp <- vpTree(
viewport(layout=grid.layout(2,2), name="layout"),
children=vpList(
viewport(layout.pos.col = 1, layout.pos.row=1, name="tl"),
2008 Apr 02
2
Unminimize / Repaint problem
Can anyone confirm/reproduce this (with Wine 0.9.58 and Gnome 2.20) ?
Start gnome terminal.
$ regedit
Click window Minimize button.
Repeatedly click Gnome taskbar button "Registry", and unminimized regedit window intermittently fails to paint.
I am getting similar repaint issues with various other programs too.
Bill
2010 Nov 20
1
Grid newbie: aligning & scaling viewports
Oh Knowledgeable Ones:
I'm working on a project using grid graphics (for the first time). A toy
example is given below, run it simply with >foobar() I am wondering why the
pink dot and concentric circles are not centered on the 3-color axis system.
Further, I feel like the concentric circles don't have the intended radius -
if my math is right, the outmost circle should touch the
2007 Sep 30
1
clipping viewports
Dear useRs,
Why are the rotated blue and yellow boxes in the example below clipped outside of 6 x 6 inch window in the middle of the page?? Where does the 6 x 6 inch window come from? I would like to make use of the entire page.
> library(grid)
> pdf(file = "FarmMaps.pdf", paper = "a4")
> pushViewport(viewport(
+ width = unit(7.6, "inches"), height =
2004 Mar 04
1
lattice/grid: problem with viewports for strips with zero height
PROBLEM
# Allocating strip labels by the function strip.fun():
strip.test()
# Result: No strips: ok. No strings: NOT OK.
# The distance ``y.text=unit(6,"points")'' is ignored;
# the strings are not seen on the output.
TRIALS FOR WORKAROUNDS
strip.test( strip.lines=1 )
# Result: 2 strips: ok, but not whished. 2 strings: ok.
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()
2007 Mar 19
1
moveWindowToViewportPosition only does horizontal viewports
As the subject says, moveWindowToViewportPosition only takes an x
argument. Shouldn't it have a y argument too for vertical viewports?
--
Travis Watkins
http://www.realistanew.com
2006 Dec 05
2
workspaces/desktops/viewports on top/bottom of cube?
I know this has probably been asked before, but, I'll ask anyways:
Workspaces/Desktops/whatever on the top and bottom of the cube, is there
any chance this will ever happen? I love how in gnome you can have work
spaces in rows/columns, and i tend to have 4-6 workspaces (well 6, but
only 4 gets used all of the time, but its nice to have the "buffer"
workspaces. since using compiz
2008 Sep 29
2
ggplot 2 - editing in the "panel_1_1" viewport
Hi All,
I am trying to find out how to access the components of a ggplot plot, and I
found this reply from Paul Murrel
http://www.nabble.com/navigating-ggplot-viewports-tt14826352.html#a15056223.
I tried it, and it works.
However, I am trying to develop some functions that will do the drawing
"automatically", and usually I will not know the full name of the grob that
has the layout vp,
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
2008 Jun 01
1
transforming output of grid.locator() to coordinates of a leaf viewport
Short form:
How do I transform the output of grid.locator() (or
grid.locator(unit='npc')) to the native (or npc) coordinates of a viewport other
than the top-level viewport?
Thanks in advance. -Ben
Long form:
I would like the user to be able to click anywhere on the R
graphics window. I would then like to figure out which leaf viewport the user
clicked in and compute the native
2006 May 29
2
Feature Request: Viewport Switching Plugin
Hi,
First of all, great job! :)
I really like to organise my work on, former known "workspaces", now
"viewports". I use currently use 9 so I have 3 for work, 3 for private
applications and 3 for other projects.
Using the viewports like this it happens to have
3 browser windows,
6 Document Viewers,
9 Terminals,
1 Evolution,
2 IDEs and
>3 Gimp
The number of Windows and