similar to: inner margins for lattice

Displaying 20 results from an estimated 10000 matches similar to: "inner margins for lattice"

2005 Sep 01
1
Spacing and margins in lattice...
Similar to my last question, I want to tighten up the spacing and margins in a plot I am doing with lattice. Here are the commands I'm using: data <- data.frame(x=c(1:3, 1:3), y=c(1:3, 1:3*2), cat=c("foo","foo","foo","bar", "bar","bar")) xyplot(panel=panel.superpose, y~x, data=data, groups=cat, type="b",
2009 Apr 17
0
Margins in lattice and device resolution
Hi all, I believe I've run into this before, but I seem to have totally forgotten. No headway in the last couple of hours either. How do I make sure that points and margins remain the same absolute size as I change the resolution of a device? (I'm running 2.9.1 patched, on a Win XP-machine) Many thanks in advance, Gustaf Ps: As an afterthought, might it be that this behaviour is
2006 Aug 24
1
Lattice symbol size and legend margins
Hi: I am using the following command: xyplot(dat6$CO3*1e6 ~ dat6$irradiance, data=dat6, group=ref, xlab=list(label=expression(paste("Irradiance (", mu, "mol photons", m^"-2", " ", s^"-1", ")")), cex=1.3), ylab=list(label=expression(paste("Carbonate concentration (x ", 10^"6", " ", kg^"-1",
2003 Oct 22
9
IPSec VPNs: to gif or not to gif
I will shortly be replacing a couple of proprietary VPN boxes with a FreeBSD solution. Section 10.10 of the Handbook has a detailed description of how to do this. However I remember a lot of discussion about a year ago about whether the gif interface was necessary to set up VPNs like this or whether it was just a convenience, for "getting the routing right". A number of people said
2005 Apr 22
1
Help needed with lattice graph!
Dear R users, If I manage to sort out this graph, it is certainly a candidate for the new R graph gallery (http://addictedtor.free.fr/graphiques/displayGallery.php)! I created the following lattice graph: library(lattice) tmp <- expand.grid(geology = c("Sand","Clay","Silt","Rock"), species =
2006 Jan 30
7
"x" and "y" values in a form_tag
Hi, I have some strange output in my log file, where I am sending information via a form to the database, eg: <-- snip --> Processing StoreController#add_var_product (for 127.0.0.1 at 2006-01-30 12:30:19) [POST] Parameters: {"size"=>{"id"=>""}, "x"=>"44", "y"=>"11",
2006 Aug 27
1
Pegasus - Crashes on Sending
I'm running Pegasus 4.31 via the latest version of Wine on Ubuntu's Breezy Badger version. I've looked at the Wine applications page for bugs etc and Pegasus crashing on sending mail is documented. It shows as bug 1611 and shows as resolved but I cannot fathom out what the resolution is. My Pegasus appears to run fine except when I press the send button whereupon pegasus
2001 May 26
1
lattice: postscript() false margins (PR#949)
Using lattice the posscript(file="") device gives false margins: zz <- data.frame( y=rnorm(100),x=rnorm(100),z=round(rnorm(100)), g=as.character(rep(1:2,50))) postscript(file="/tmp/tmp.ps") xyplot(x~y|g,data=xx) dev.off() whereas dev.print(postscript,file="") works fine dev.print(postscript,file="/tmp/tmp.ps")
2009 Aug 01
2
xyplot: superpose 2 time series with different time intervals
I could use some advice regarding xyplot. I've got 2 time series. Both cover approximately the same period of time (ie, 1940 to 2009). But one series has annual data and the other has monthly data. One refers to university enrollment; the other to unemployment rates. Both are currently in the same data frame. I'd like to use the monthly times series as a light grayscale background for a
2005 Mar 22
3
Lattice : factor levels in the margins
Hello ! I'm struggling again against lattice graprhics. ;) I'm trying to produce a conditionnal xyplot with two conditionning factors (let's say A and B). I want the levels of those factors (A1, A2, etc) to show in the margins of the lattice plot, not in the strips between the panels. A1 A2 A3 plot11 plot12 plot13 B1 plot21 plot22 plot23 B2 I managed to remove the
2013 Jan 15
1
Histogram plot spacing
Dear all, I'd like to remove the space between the x-axis and the 0 of the y-axis in the hist function. I saw the previous post https://stat.ethz.ch/pipermail/r-help/2012-September/324177.html suggesting adding the x-axis at position 0 (or the lowest value of y) after making the histogram. Unfortunately, it doesn't work in my case as I want to use it with a histogram with a ylim starting
2009 Jul 31
1
superpose 2 time series with different time intervals
I could use some advice. I've got 2 time series. Both cover approximately the same period of time (ie, 1940 to 2009). But one series has annual data and the other has monthly data. One refers to university enrollment; the other to unemployment rates. Both are currently in the same data frame. I'd like to use the monthly times series as a light grayscale background for a plot of the
2001 Aug 07
1
multiple persp plots
Hello, I would like to plot two superposed surfaces (original data, and smoothed models). Basically, I would like to create a usual persp plot with box, and then superpose a second surface (without box and axes) on the top plane of the box defined by the first graph. I don't know if it is clear :-( Is it possible to draw such a second surface in an existing persp plot in R? Another (related)
2005 Mar 09
4
Lattice device page options-margins
I am using lattice to make figures as pdfs: trellis.device(device = "pdf",file = "Figure6.pdf",color = FALSE) I need to specify some blank space on the left-hand margins (the pages will be bound so we need about 0.5 inch)). I have tried a number of solutions but none seems to work (e.g. par.set). Can this be done when initiating the plotting device? Or is the some other way
2007 Aug 17
0
superposing lattice plots
Hello everyone, I am sorry if this has already been asked but I can't find it. I want to superpose two lattice plots, namely a levelplot and a contourplot of two different variables with the same x-y scale. I found information about panel.superpose but it does not seem to correspond to what I want (I have two different variables, not groups of the same variable) How can I do this?
2005 Nov 11
1
Lattice (Trellis) plot margins
Is there an equivalent way to set plotting parameters as in par(mai=c(......)) in the Lattice package? I searched trellis.par.get(), but am not sure which one can be used. Paul E. Green [[alternative HTML version deleted]]
2003 Jan 10
1
Superposed histograms
I woud like to plot cumulative histograms. Specifically, I have data like Sex M M F M F F M F Height 6 6.3 6.1 5.5 7.2 6.2 5.9 6.0 .... and I want to plot a histogram of the distribution of all heights, colouring the histogram bars according to sex, for example | o | oo o | o oo ** o o = observations of women | o o*o***o * = observations of
2012 Jul 12
2
trellis margin sizes in absolute units
Dear R users, I have a lot of experience with traditional R graphics, but I decided to turn to trellis as it was recommended for spatial graphs by the sp package. In traditional R graphics I always first set the size of the device region absolute units (e.g. mm) and then I firmly fix the inner margins with mai and the outer margins with oma also in absolute units. What is left from the device
2009 Oct 02
3
Tabulating using arbitrary numbers of factors
Dear R-help, First of all, thank you VERY much for any help you have time to offer. I greatly appreciate it. I would like to write a function that, given an arbitrary number of factors from a data frame, tabulates the number of occurrences of each unique combination of the factors. Cleary, this works: > table(horse,date,surface) <SNIP> , , surface = TURF
2007 Nov 24
1
patch proposal for plot.ts
Hi all. Currently, if you try: > lag.plot(1:10) you get superposed labels '1' and '10'. Things go worse in more extreme cases: x <- ts(1:10) x1 <- lag(x, 4) plot(x1, x) This is due to a mistake in plot.ts. My suggestion is the following really minimal patch to plot.ts: @@ -530,7 +530,7 @@ plot.ts <- text(xy, labels =