similar to: Lattice: xyplot group title format

Displaying 20 results from an estimated 10000 matches similar to: "Lattice: xyplot group title format"

2002 Dec 06
2
Controlling graphics parameters in lattice
I'm just starting to work with lattice graphics, and am having difficulty understanding how to control various graphic parameters (font sizes, etc.). [I'm actually using xyplot via plot.effect() in the car package, and would like to be able to set some global defaults.] I read ?xyplot and ?trellis.par.set-- which contains no complete list of parameters, just a reference to
2008 Sep 29
1
Lattice: don't draw unlabled tick marks
If I only want axis labels on the left and bottom I can set alternating=F like in the following example: Depth <- equal.count(quakes$depth, number=8, overlap=.1) xyplot(lat ~ long | Depth, data = quakes, scales=list(alternating=F) I also would like to get rid of the unlabeled tick marks (top and right). How can I do that? cu Philipp -- Dr. Philipp Pagel Lehrstuhl f?r Genomorientierte
2010 Apr 04
2
One question about saving graph by using xyplot
Hey, folk. I am trying to get many figures by using the function "xyplot" in the library "lattice". I tried to using the loop to finish it quickly. But I cannot open the saved file after I run the program. But if I use the function "plot" to get other simply figures, it can work. So I want to ask how I can get the saved figures by using "xyplot". The
2002 Jan 09
3
lattice problems under Win2K and R-1.4.0
I'm having problems copying and saving lattice graphs using R-1.4.0 under Win2k. It seems I've see this alluded to recently in R-help. If I do the following example: > data(quakes) > xyplot(long ~ lat , data = quakes) And then try to copy or save the graph as either a metafile or bitmap or if I use any of the bitmap/metafile devices via (for example) >
2010 Mar 22
1
Add title to color spectrum legend in xyplot
Hi, I have a plot that is essentially the same as that in Figure 5.6 of "Lattice - Multivariate Data Visualization with R". The key difference is that I would like to add a title to top of the grey color spectrum legend, but have thus far been unsuccessful. I've tried a variety of options, but to no avail. I'm new to R, and admittedly I don't understand the
2010 Mar 10
2
calling map() in xyplot()
Hi All, I'm trying to add a map on the following lattice plot, but not correctly... can anyone help please... R Code: require(lattice) us.map <- map(plot = FALSE, fill = TRUE) Depth <- equal.count(quakes$depth, number=8, overlap=.1) xyplot(lat ~ long | Depth, data = quakes, panel = function(...) { panel.polygon(us.map$x,us.map$y) panel.xyplot(...) } ) Any help would be
2008 Dec 28
1
Using a constant scale across X-Y plots
I am working off an example from Deepayan Sarkar's Lattice:Multivariate Data Visualiization with R. I am trying to create Figure 5.6, essentially, but I would like to be able depict different metro areas. These of course have different lat/longs, so I need to make different graphs. BUT (and this has been the tricky part), I would like to produce graphics for each metropolitan
2002 Apr 22
2
lattice help
I'm new to lattice and can't figure out what the problem is with the following example: ######################### > library(lattice) Loading required package: grid Attaching package `lattice': The following object(s) are masked _by_ .GlobalEnv : xyplot The following object(s) are masked from package:base : levels > test.data <- data.frame(x=rnorm(100), +
2008 Apr 08
1
Change the position of panel strips in a lattice plot.
Hi all, In lattice plots, is there any option to position the panel strips with text below each subgraph, instead of above? i.e. in: Depth <- equal.count(quakes$depth, number=8, overlap=.1) xyplot(lat ~ long | Depth, data = quakes) ,is there any way to make "Depth" appear below the subgraphs, instead of above? I've been looking through the lattice documentation and the list
2010 Nov 17
1
Color on trellis device
Hi, I try to make a xyplot withou colors. I try: pdf(file="test.pdf") trellis.device(color=F) Depth <- equal.count(quakes$depth, number=8, overlap=.1) xyplot(lat ~ long | Depth, data = quakes) dev.off() the graphic is showed without colors in a X device but it dont work saving directly on pdf device. How I made to put color off in trellis device? Thanks Ronaldo -- 2ª lei - Na
2009 Nov 11
7
Gr�fico xyplot
Hola a todos, Tengo que construir un gráfico para una base de datos que tengo en el que representar para los individuos de esta base su altura vs peso en función de su edad. Para ello, hay que utilizar los gráficos condicionados. En primer lugar usé la función coplot pero cargando el paquete lattice se pueden utilizar funciones que generan gráficos más completos, como es el caso de la función
2002 Jan 10
0
xyplot() in Package lattice seems won't work?!
Please forgive me if this has been asked and answered, since I just can't find out. As I try the example given in the help page of xyplot() as follows: > library(lattice) Loading required package: grid Attaching package `lattice': The following object(s) are masked from package:base : levels > data(quakes) > xyplot(long ~ lat , data = quakes) R crashed!
2006 Jun 08
1
panel.abline and xyplot
Dear All, I am wondering on how to use the abline.xyplot with xyplot such that I will have different vertical lines for each panel. More sepcifically, suppose that the xyplot generates 4 panels defined by the combination of two binary variables: X_1 and X_2. i.e. xyplot(Y ~ Z | X_1*X_2, data = df) I want something like: abline(v = 5) if X_1=0 and X_2 = 0 abline(v =
2005 Sep 25
2
xyplot main title question
When I use the xyplot function (lattice library) the titles are too long (i.e. part of the title are cut off). This fixes if I maximize the plot, but I would like the user of the program to not have to manually maximize the plotting window. I have tried to shrink the main title by using the "par(cex.main=.7)" before the xyplot function, but it seems any prior par options are ignored by
2007 Oct 01
2
xyplot
Hello, I am calling the following code with the loop! It makes 3 out graphs but empty! COuld you help me plase on that? Thank you in advance z1 <- dbConnect(MyData, "something", "A1", "A2") for (tt in c("xyz", "abc", "m1")) { message(paste("Here", tt, "!!!")) mydata <- dbReadTable(z1, tt)
2003 Feb 03
3
Bus error with xyplot
Has anybody else experienced something like the example below? Any clues about where I could start looking? Thank you in advance, Giovanni > version _ platform sparc-sun-solaris2.7 arch sparc os solaris2.7 system sparc, solaris2.7 status major 1 minor 6.2
2003 Feb 03
3
Bus error with xyplot
Has anybody else experienced something like the example below? Any clues about where I could start looking? Thank you in advance, Giovanni > version _ platform sparc-sun-solaris2.7 arch sparc os solaris2.7 system sparc, solaris2.7 status major 1 minor 6.2
2005 Oct 09
1
background color of xyplot
Dear All, I am wondering if there is a way to change the color of the panels of the xyplot (lattice package) from "gray" to "white" ...... Because the printing of the xyplot's graph is not visible with the gray color ... I've seen the xyplot help but without any success Thanks lot in advance, Bernard, ---------------------------------
2003 Jul 21
1
Lattice: how to draw some text outside the panel?
Dear r-help I draw plots with xyplot() function. Each plot contains also a line of regression. I want to write the trend value and its significance (obtained with lm()) below each panel. I use ltext() for this. But the text is cut, when it comes outside a panel. Moreover (obviously), it doesn't appear at all when its coordinates are outside a panel. Could you,
2010 Sep 30
1
Several Lattice plots in one Plot
Hi all, I've been trying for hours, but I do not find a Solution. I want to plot 12 variables over time in separate diagrams in one plot/window using lattice. Two columns, six rows. I used print with the split command, but the graphics are getting really small. Can someone please help me. Following data example: dta = data.frame( day=c(1,2,3,4,5,6,7),