Displaying 20 results from an estimated 1000 matches similar to: "lattice grayscale "theme""
2009 Jan 12
0
Grayscale figures in odfWeave?
Dear list,
I am sorry if this is a FAQ, but I have just started using odfWeave
for report construction and it seems not to behave exactly like
Sweave.
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:
2010 Jul 06
2
grayscale wireframe??
I need grayscale formatting for a wireframe.
The only col.regions that I can find are color palettes are all colored:
rainbow(n, s = 1, v = 1, start = 0, end = max(1,n - 1)/n,
gamma = 1, alpha = 1)
heat.colors(n, alpha = 1)
terrain.colors(n, alpha = 1)
topo.colors(n, alpha = 1)
cm.colors(n, alpha = 1)
The code follows:
X11()
library(lattice)
par(family="serif", cex=1.2)
2005 Feb 03
0
two issues (black and white trellis graphics)
On the first issue, there's a recent post you can find 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)
2010 May 12
2
Finding different hues for a mosaic plot compatible with grayscale printing
I'm working with the following code below to generate a
how do I set the h,c, and l values such that the significant, positive
residuals appear different on a grayscale printer from significant
grayscale residuals. The challenge as I see it is that one can only
distinguish the positive and negative residuals with the hue/. Varying
the chroma and the luminance only affect the
2007 Mar 31
1
add confidence intervales to xyplot for ANCOVA and extracting info
Hi,
I would like to add confidence intervales to an ANCOVA with 2
covariates when using xyplot.
What would be a good way of accomplishing this?
--8<---------------cut here---------------start------------->8---
rm(list = ls(all = TRUE))
rm(list = c(ls()))
library(lattice)
## 1. generate data
random <- rnorm(200)
y <- abs(random)
x1.cont <- abs(random)
x2.fac <-
2006 Mar 23
1
comparative density estimates
I have two series of events over time and I want to construct a graph of the
relative frequency/density of these events that allows their
distributions to
be sensibly compared. The events are the milestones items in my project on
milestones in the history of data visualization [1], and I want to
compare trends
in Europe vs. North America.
I decided to use a graph of two overlaid density
2016 Apr 17
6
how do I use only black ink?
I have an HP Photosmart C3180 All-in-one.
As I haven't had any need for color lately,
when I last replaced ink, I only replaced the black cartridge.
It didn't work, even when printing grayscale-only images,
even when telling print-set-up grayscale-only.
Is there a way to tell my printer to use only the black ink cartridge.
My test image is a handmade postscript file
that only use setgray
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
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 device
2007 Jul 30
1
add custom strip to lattice plot
Hi,
what is the recommended way of adding a strip to a lattice plot?
In the example below I would like to add the value of mean(y) to a new
strip.:
--8<---------------cut here---------------start------------->8---
library(lattice)
## Small sample data set:
p0 <- xyplot(uptake ~ Type | Treatment, data = CO2)
p1 <- update(p0,
panel = function(x, y, ...) {
2010 Oct 19
2
superpose.polygon, panel.polygon and their colors
Dear R-helpers,
the problem I'm facing today is to convince lattice to paint some areas
in gray.
The areas I would like to have in gray, are confidence bands
I've googled around in the mailing list archives and eventually find
some clues.
This link is my starting point
http://tolstoy.newcastle.edu.au/R/e2/help/07/04/15595.html
I'm reproducing here the code for your convenience
est
2009 Aug 06
1
specify lattice black-and-white theme
Is there a simple way to specify a theme or trellis (lattice) parameters so
that, in a multipanel (conditioned) plot, there is no color and in the
strips there is no shading? This is the effect achieved on page 124 of
Deepayan Sarkar's "Lattice" (figure 7.2).
I managed to trick lattice into making a grayscale plot on my interactive
display as follows:
> graphics.off()
>
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)) #
2008 Jan 20
3
B&W
Hi,
We want to get a B&W output from any video input (B&W or Color). So when we
encoded into B&W video compression will be increased is it correct? Can we
archive this by a existing encoder_example.
--
___
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/theora/attachments/20080121/c1d1b3c1/attachment.htm
2010 Mar 24
3
help in matlab - r code
Dear list members,
I need to translate 3 lines of matlab code to R (a loop, to be specific),
and I don't know what would be the results in matlab or how to do it in R--
I don't realise if they are doing to the col, vector or what. if the results
are a vector or a value or a matrix :-(
Anyone with matlab, can run it and give me the result? Any ideias what am I
doing wrong?
The code is
2016 Apr 18
2
how do I use only black ink? success
On Sun, 17 Apr 2016, Michael Hennebry wrote:
> On Sun, 17 Apr 2016, Michael Hennebry wrote:
>
>> I have an HP Photosmart C3180 All-in-one.
>> As I haven't had any need for color lately,
>> when I last replaced ink, I only replaced the black cartridge.
>> It didn't work, even when printing grayscale-only images,
>> even when telling print-set-up
2011 Jan 27
1
Increasing grayscale value in scatter plot with number of points on particular location
Dear all,
When making a plot with the command plot(xVector, yVector), there are many
points that collide on the same place in the plot. In order to make this
plot clearer, I have been looking for a way to colour the points based on
the number of points that fall onto each other. If only one point falls on a
particular location, make it gray, if many points fall, make it black.
I tried to search
2006 Jun 20
1
Printer comments and other weirdness
Am running Samba 3.0.20 on SuSE 10.0 and cups as my printer provider. I've
used the cups gui to create a number of printers. They appeared correctly in
my Printers and Faxes folder in Explorer and I uploaded my print drivers
successfully. Now, a few days later, I'm looking at my printers and I notice
that the comments that show up on the print shares themselves still reflect
some old data
2011 Mar 31
1
transparent grays?
Is there a grayscale equivalent to alpha levels in rgb?
Example: I have the following to make red transparent circles overlap
with previously plotted blue symbols.
symbols(x=sites$long,y=sites$lat,circles=log(sites$prop.nem
+1),add=T,inches=F,bg=rgb(red=1,green=0,blue=0,
alpha=0.5),fg=rgb(red=1,green=0,blue=0, alpha=0.5))
I'm having a hard time coming up with a grayscale equivalent.