search for: ltheme

Displaying 9 results from an estimated 9 matches for "ltheme".

Did you mean: theme
2008 Oct 15
2
Lattice key title color
Dear R users, is there a way to define the color of the title for the legend in lattice? The help page on xyplot has a lot of details on key options just as the new book, but no mentioning of a color attribute for the title. Should I use ltext or is there any other way? Best wishes, Erik [[alternative HTML version deleted]]
2009 Feb 11
2
changing settings on a barchart (lattice)
Hello! I apologize - I never used lattice before, so my question is probably very basic - but I just can't find the answer in the archive nor in the documentation: I have a named numeric vector p of 6 numbers (of the type 6 numbers with people's names to whom those numbers belong). I want a simple bar chart. I am doing: library(lattice) trellis.par.set(fontsize=list(text=12)) #
2007 Jul 28
2
lattice grayscale "theme"
Hi, is there a grayscale setting for lattice plots? I like the default color settings. I also like the settings that are available for setting black and white with something like this: --8<---------------cut here---------------start------------->8--- ltheme <- canonical.theme(color = FALSE) ## in-built B&W theme ltheme$strip.background$col <- "transparent" ## change strip bg lattice.options(default.theme = ltheme) ## set as default --8<---------------cut here---------------end--------------->8--- Is there a simple...
2006 Apr 24
1
trellis.par.get without opening a device?
I am using the Deepayan's Sweave trick to set graphics parameters for all graphs: ltheme = canonical.theme(color=TRUE) sup = trellis.par.get("superpose.line") ltheme$superpose.line$col = c('black',"red","blue","#e31111","green", "gray") .... Works perfectly, there is only a minor nuissance that trellis.par.get opens a...
2005 Jan 03
1
Black and white graphics and transparent strip panels with lattice under Sweave
What is the most elegant way to specify that strip panels are to have transparent backgrounds and graphs are to be in black and white when lattice is being used with Sweave? I would prefer a global option that stays in effect for multiple plots. If this is best done with a theme, does anyone have a lattice theme like col.whitebg but that is for black and white? I'm using the following
2005 Feb 03
0
two issues (black and white trellis graphics)
...nd in the archives. It's from Deepayan Sarkar on January 2 this year. It would probably pop up on a search for "black white lattice" or something similar. The key part of his answer: I'd do something like this as part of the initialization: <<...>> library(lattice) ltheme <- canonical.theme(color = FALSE) ## in-built B&W theme ltheme$strip.background$col <- "transparent" ## change strip bg lattice.options(default.theme = ltheme) ## set as default Hope this helps, Matt Wiener -----Original Message----- From: r-help-bounces at stat.mat...
2009 Jan 12
0
Grayscale figures in odfWeave?
.... I want to get my figures in grayscale, but the tip given in the FAQ of Sweave http://www.stat.uni-muenchen.de/~leisch/Sweave/FAQ.html#x1-10000A.8 only produces gray scale images in the screen output, not in the odf document. This is my init code: <<Init,echo=false>>= library(lattice) ltheme <- canonical.theme(color = FALSE) ## in-built B&W theme ltheme$strip.background$col <- "transparent" ## change strip bg lattice.options(default.theme = ltheme) ## set as default @ What am I doing wrong? /Fredrik -- "Life is like a trumpet - if you don't pu...
2010 Oct 19
2
superpose.polygon, panel.polygon and their colors
...(est ~ x | cond, group = grp, data = data, type = 'b', upper = data$upper, lower = data$lower, panel = function(x, y, ...){ panel.superpose(x, y, panel.groups = 'panel.bands', col="gray", ...) panel.xyplot(x, y, ...) }) 3) ltheme <- canonical.theme(color = FALSE) ltheme$superpose.polygon$col="gray" xyplot(est ~ x | cond, group = grp, data = data, type = 'b', upper = data$upper, lower = data$lower, theme=ltheme, panel = function(x, y, ...){ panel.superpose(x, y, pan...
2006 May 17
4
uniform and clumped point plots
I am trying to generate two dimensional random coordinates. For randomly distributed data I have simply used >xy<-cbind(runif(100),runif(100)) However I also want to generate coordinates that are more uniformly distributed, and coordinates that are more contagiously distributed than the above. Can anyone make any suggestions Thanks. Dr Terry Beutel Rangeland Scientist Animal