Displaying 4 results from an estimated 4 matches for "mybarcol".
Did you mean:
marcol
2005 May 04
1
Plotting means and confidence intervals by group factor using lattice graphics?
...factor in a lattice graph. I can
not find any working lattice examples. Maybe a custom panel function is
the answer, but that is a bit beyond me for now.
The individual plots within the lattice graph could look like this:
# Example with confidence intervals and grid
hh <- t(VADeaths)[, 5:1]
mybarcol <- "gray20"
ci.l <- hh * 0.85
ci.u <- hh * 1.15
mp <- barplot2(hh, beside = TRUE,
col = c("lightblue", "mistyrose",
"lightcyan", "lavender"),
legend = colnames(VADeaths), ylim = c(0, 100),
main...
2002 Jun 24
1
barplot
Hi,
a couple of simple graphics questions:
1. I have a little function that makes bar plots. Now I would like to
limit the Y-axis outside this
function (that means after calling the barplot() command) depending on
the data to be plotted .
Does anyone know how to do this ???
2. When using barplot() and limiting the yAxis, R draws the bars below
the x-axis. How can I avoid this problem ??
2009 Apr 24
1
font size relative to graphic
I am printing numbers onto horizontal bars in a bar plots, but I am
finding it difficult to make the number always the right size. If there
are more bars, the bars get narrower and the font is too big. I also find
that if I change the size of the graph, the bars will get wider or
narrower and the font stays about the same size. The result depends on
whether I view the graph in X11 or in
2010 Jul 05
3
Problemas para graficar barras de error y fechas en el eje-x (SOLUCIONADO)
...tiene sentido).
>>>
>>> Prueba a utilizar "segments" y un ejemplo de su uso, justamente como
>>> líneas de error, lo tienes en la función "barplot".
>>>
>>> ++++++++++++++++++
>>> hh <- t(VADeaths)[, 5:1]
>>> mybarcol <- "gray20"
>>> mp <- barplot(hh, beside = TRUE,
>>> col = c("lightblue", "mistyrose",
>>> "lightcyan", "lavender"),
>>> legend = colnames(VADeaths), ylim=...