similar to: Legend in xyplot two columns

Displaying 20 results from an estimated 900 matches similar to: "Legend in xyplot two columns"

2009 Sep 19
1
matrix operations on grobs and grid units
Dear list, As a minimal test of a more complex grid layout, I'm trying to find a clean and efficient way to arrange text grobs in a rectangular layout. The labels may be expressions, or text with a fontsize different of the default, which means that the cell sizes should probably be calculated using grobWidth() and grobHeight() as opposed to simpler stringWidth() and stringHeight().
2010 Mar 19
2
lattice grob
Dear list, I'm trying to arrange various grid objects on a page using a frameGrob. It works fine with basic grobs (textGrob, gTree, etc.), and also with ggplot2 objects using the ggplotGrob() function. I am however stuck with lattice. As far as I understand, lattice produces a list of class trellis, which is eventually displayed using the plot.trellis method. I am not sure if/how one can
2009 Sep 20
1
packGrob and dynamic resizing
Dear all, I'm trying to follow an old document to use Grid frames, Creating Tables of Text Using grid Paul Murrell July 9, 2003 As a minimal example, I wrote this, gf <- grid.frame(layout = grid.layout(1, 1), draw = TRUE) label1 <- textGrob("test", x = 0, just = "left", name="test") gf=placeGrob(gf, rectGrob(), row = 1, col = 1) gf=packGrob(gf,
2008 Jan 12
2
Lattice equivalent of par(mfrow = )
Dear r-helpers, Does anyone have a straightforward example of putting together three unrelated (expect for a common y-axis) xyplot() figures in what would be in base graphics a par(mfrow = c(1, 3)) arrangement? _____________________________ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400 Charlottesville, VA 22904-4400 Parcels: Room 102
2007 May 26
1
lattice: aligning independent graphs
I find myself wanting to plot three graphs side by side 'as if' they were panels -- that is, with the same y-axis limits, no space between the graphs, and precise vertical alignment of the plot areas. However, I don't want strip titles; I want each graph to have its own x-axis label, on the bottom of the plot. The best way I have so far found to do this is to fake up a data frame that
2010 Apr 28
1
Multiple cex sizes in main for xyplot?
Folks: I would like to write two lines of text in two different font sizes (or faces or ...) as the title ("main") of a trellis plot. The following code does it, but not well: xyplot((0:1)~(0:1), main = textGrob(lab=c("Some Text","Some More Text"),y=c(.95,.8), gp=gpar(cex=c(1.2,1.0))) ) There is too much space between the title text and the plot. I assume
2011 Aug 15
4
trying to resolve group dependency in creating users
Hi all, Using Puppet 2.5, I have a class which creates users: # cat modules/users/manifests/init.pp class users { user { ''ringo'': ensure => present, uid => ''1506'', groups => [''admin''], shell => ''/bin/bash'', home => ''/home/ringo'', managehome
2006 Mar 19
2
Unit test confusion
Hey all, I''m following along with AWDWR, specifically the unit testing. On page 148, it shows you how Test::Unit::TestCase will automatically define instance variables based on your fixtures. It doesn''t seem to actually work, though. It seems that both @artists ["beatles"]["name"] and @beatles.name are nil objects in my test, where as
2001 Mar 11
2
MS Outlook
Hello, Could any one tell me whether MS outlook 98 can be run on WINE ? I've installed WINE on the computer and copied outlook.exe and outlook.dll to my home directory. However, I cannot run outlook anyway. Any suggestions ? Please help ! Thanks a lot. Dr. Ringo Lam ringo@cybermomentum.com CyberMomentum.Com RM 1801, Java Commercial Centre, 128 Java Road, North Point Tel : 2561 0333, 2811
2011 Jan 06
3
dovecot can't see mail that is there
I used to install dovecot on any Fedora fresh installation and I could fetch my internal mail few minutes later. Now I've been struggling for two days and I haven't got my mail working yet. I have Fedora 14 with sendmail. Some application on the same machine send mail to an account on the same machine (hence all is confined to one machine) and I want to retrieve it from a laptop
2005 Feb 18
1
Examples of multiple key grobs
The xyplot help page gives quite a lot of information how to use key and indicates that legend needs to be used if multiple keys are needed. However, it gives only a brief description of what the grob needs to contain to do multiple keys. I've only used the occasional grid function in panel functions, so I don't have much of a sense of how grobs are constructed. I've been unable to
2007 Apr 18
1
[Bridge] Bridging a wireless/wired LAN and a PPPoE connection
Hi all, I'm trying out bridging for my wireless and wired LAN, so that they can both use my PPPoE connection. Here's the network structure, pretty easy: darjeeling (192.168.1.7) ringo (192.168.1.3) (mtu 1500) (mtu 1500) \ / \ wlan0 <--br0 (mtu 1500)--> eth1
2011 Jun 16
1
Placing Text on ggplot2 graphics vs. xyplot
Greetings to the help mailing list. I am in the process of translating a large graphic from xyplot to ggplot2 (13 columns by about rows). I have been unsuccessful trying to understand how to place the following text strings after three days of: * Perusing Wickham's "gg2plot" book; * Searching his site for gg2plot and qplot; * Reviewing the "man pages" for gg2plot; *
2013 Jan 15
5
Duda gráficos - paper="a4"
Buenos días: A ver si alguien me puede iluminar, porque ya he sobrepasado los límites de mi paciencia y de mi imaginación con este asunto: Dado un gráfico creado con un plot (y funciones auxiliares como polygon, etc.) y una tabla creada debajo de ese gráfico (creada con addtable2plot), y dados unos text situados a modo de título encima del plot y otros encima de la tabla, ¿por qué cuando trato
2012 Dec 12
2
long margin text below lattice plot - how to wrap lines?
Hello, I've got a lattice plot and need to add text into the bottom margin of the plotting area (below the bottom legend). This seems to work in principle using grid.arrange, yet the text to be added is rather long. As a consequence, it gets clipped: require(lattice) require(grid) myplot <- xyplot(1~1) mytext <- textGrob("This is such a very very long text that it goes on forever
2008 Dec 13
2
What is "The Rails Way" to do this?
I have a PHP application with the following in one of the "views": <input type="button" onClick="newAlt()" value=" + "></nobr> The JavaScript for "newAlt()" is: // using DOM create new input box for alternate part function newAlt() { var html = "<input style=''background-color:#FFFFCC'' "; html +=
2009 Oct 08
2
proto and get()
Dear all, In mucking around with ggplot2, I've hit the following snag, library(ggplot2) # this returns a grob, OK GeomAbline$icon() # lines[GRID.lines.9] # this returns the function icon, OK GeomAbline$icon # proto method (instantiated with ): function (.) # linesGrob(c(0, 1), c(0.2, 0.8)) # <environment: 0x13e6800> Now I want to wrap this in a function, getIcon <-
2009 Mar 21
1
Forestplot () box size question
Hi All, I have been able to modify the x-axis to start at zero by adding xlow and xhigh parameters; that was pretty simple. I have been unable to find the location of the code that would turn off the information weighting of the box size (I have smaller randomized trials getting less weight than a much larger non-randomized trial). The function is forestplot() from rmeta. Thanks for any
2014 Dec 17
2
smbstatus issue in v4.1
In Samba 4.1 I get the following output for smbstatus: Samba version 4.1.1 PID Username Group Machine ------------------------------------------------------------------- 2482 john Everyone 10.0.0.109 (ipv4:10.0.0.109:49178) 7364 george Everyone 10.0.0.60 (ipv4:10.0.0.60:49232) In Samba 3.6 it was like this: Samba version 3.6.24 PID
2007 Jul 24
2
Astribank-8BRI
Hello, I'm in the process of building an Asterisk machine and need 5 or 6 BRI-Channels. I was looking for the beroNet and Junghans cards and stumbled upon the Xorcom Astribank xBRI products. Has anybody tried out the Astribank xBRI-Channel Banks? Are they production ready or should I go with a beroNet BN8S0 or JUNGHANNS.NET octoBRI ISDN? Thanks in advance, Lars -- We don't like their