Displaying 17 results from an estimated 17 matches for "mistyrose".
2003 Apr 16
2
barplot2
Hello,
I get a nice looking barplot using the barplot2 function in the gregmisc
package:
body2 <- barplot2(hh3, beside = TRUE,
col = c("mistyrose", "lightcyan"),
....
cex.names = 1.0, plot.ci = TRUE, ci.l = cil, ci.u = ciu,
plot.grid = TRUE)
box()
However, obviously I lose the collors when converting from ps to a pdf
(outside of R) but I get a single shaded pattern!
Is it my choice of collors? Or the c...
2007 Jun 16
1
Lines connecting the boxes in a boxplot
...atrixtype",
ylab="Fitness", ylim=c(20,100),
subset=(model=="dyn"), col="lightblue", xaxt="n", whisklty=1)
boxplot(fitness ~ matrix,
data=data, boxwex=boxwex, at = 1:7, add=TRUE,
subset=(model=="dl3"), col="mistyrose", xaxt="n", whisklty=1)
boxplot(fitness ~ matrix,
data=data, boxwex=boxwex, at=(1:7 + 0.2), add=TRUE,
subset=(model=="dl4"), col="lightcyan", xaxt="n", whisklty=1)
axis(1, 1:8-0.5, labels=FALSE)
axis(1, 1:7, tck=FALSE, labels=levels(dat...
2006 Jul 10
1
Unexpected difference in Bounding Box of PDF graphics between (PR#9072)
...c.uk/~huber/pub
>
> The code is here:
>
>
> pdf(file=sprintf("test-%s.pdf", version$"svn rev"), width=4, height=4)
> par(mai=par("mai")[rep(1:2,2)])
> x = seq(0, 10*pi, length=3000)
> plot(x*cbind(sin(x),cos(x)), type="l", col="mistyrose", lwd=3)
>
> sink(textConnection("s", "w"))
> options(width=40)
> print(sessionInfo(), width=30)
> sink()
>
> text(-30, 30-4*seq(along=s), s, adj=c(0,0.5), cex=0.7)
> dev.off()
>
>
>
> and one of the differences between the resultin...
2008 Oct 26
1
Using the legend function inside a bar chart error.bars function
...standard errors bit
std.errors<-sqrt(var.table/n.table)
std.errors[is.na(std.errors)]<-0
biggest.value<-max(mean.table+std.errors)
# Barchart plotting bit
# COMMENTED OUT CODE bartable<-barplot(mean.table, beside=TRUE, ylim=c(0,biggest.value+1), col=c("lightblue", "mistyrose"))
bartable<-barplot(mean.table, beside=TRUE, ylim=c(0,biggest.value+1), col=c("lightblue", "mistyrose"), legend=rownames(mean.table))
# Error bars
errbar.width<-(max(bartable)-min(bartable))/50
for(i in 1:length(mean.table[,1])){
for(j in 1:length(mean.tabl...
2008 Jun 07
1
strange (to me) p-value distribution
I'm working with a genomic data-set with ~31k end-points and have
performed an F-test across 5 groups for each end-point. The QA
measurments on the individual micro-arrays all look good. One of the
first things I do in my work-flow is take a look at the p-valued
distribution. it is my understanding that, if the findings are due to
chance alone, the p-value distribution should be uniform. In
2005 May 04
1
Plotting means and confidence intervals by group factor using lattice graphics?
...he 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 = "Death Rates in Virginia", font.main = 4,
sub = "Faked 95 percent error bars", col.sub = mybarcol,
cex.names = 1.5, plo...
2009 May 28
1
can you help me please :)
...f Structure"
ylab="No. of Mutation Mapped to"
title="SNPs Structures"
barplot(zz,width = 4,names.arg= xx,axes = TRUE, axisnames = TRUE, main=title,xlab=xlab,ylab=ylab,ylim=c(0,1175),xlim=c(0,226),col = c(for (i in zz){if i>70 col= "lightblue" else col= "mistyrose"))
i tried to get red of zero then plot it
i want to color different result with different colors ?
any body can help pleeeeaaaaaaasssseee
thanks
Nouf
_________________________________________________________________
[[alternative HTML version deleted]]
2008 Dec 01
1
Help with lattice graphics
...(y2007)<-vec_a;rownames(y2008)<-vec_a;rownames(y2009)<-vec_a;
ysmax<-ceiling(max(colSums(y2007),colSums(y2008),colSums(y2009)))+1
## Now, let's plot
#### the combination of plots desired as a lattice plot
col_choice=c("blue", "brown","lightgreen", "mistyrose")
par(mfrow=c(1,3),mar=c(5,5,5,2))
barplot(y2007,col = col_choice,
????? beside=F,xlab="fac_b",ylab="y",main="year 2007",
????? font.axis=2,font.lab=2,cex.lab=1.5,cex.axis=1.2,ylim=c(0,ysmax))
legend(x=1,y=ysmax,legend=vec_a,fill = col_choice)
barplot(y2008,col =...
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 ??
2006 Oct 13
2
Multiple barplots on the same axis
Hi
R newbie here :)
I need to plot 3 barplots in the same axis, something like
|
| _ _ _
| | | _ | | _ | | _
| _ | || | _ | || | _ | || |
| | || || | | || || | | || || |
-+-----------------------------------------
| v1 v2 v3
Is there any documentation describing how to achieve that, and
2006 Oct 24
1
marks to sepearat bars
I'd like to insert always after 3 bars a small mark, so the groups of three can be distinguished easier.
Thanks for your help!
David
--
2011 Oct 26
1
Plot complete dataset
Hello,
I am a new user of R, so I still have some basic difficulties.
I'm trying to create a bar graph completely from reading a file.
The idea was on the x axis have the columns of the table
Married ,Single,Divorced, widower
the legend Ages
18-34
35-45
46-64
65-69
70-74
the dataset
dataset
Ages Married Single Divorced widower
1 18-34 10.5 35.7 8.5 3.2
2 35-45
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
2005 May 13
2
help with texi2dvi
Hello,
Does anyone know how to write the files created by the call of
"texi2dvi" in another directory ?
Thanks,
Matthieu
2012 Oct 23
2
plotting multiple variables in 1 bar graph
I'd greatly appreciate your help in making a bar graph with multiple
variables plotted on it. All the help sites I've seen so far only plot 1
variable on the y-axis
Data set:
I have 6 sites, each measured 5 times over the past year. During each
sampling time, I counted the occurrences of different benthic components
(coral, dead coral, sand, etc.) over 5 transects in each site
site
2000 Feb 29
0
mapping of colornames into hsv: half way done
...quot;, "#7B68EE",
"mediumspringgreen","#00FA9A",
"mediumturquoise", "#48D1CC",
"mediumvioletred", "#C71585",
"midnightblue", "#191970",
"mintcream", "#F5FFFA",
"mistyrose", "#FFE4E1",
"mistyrose1", "#FFE4E1",
"mistyrose2", "#EED5D2",
"mistyrose3", "#CDB7B5",
"mistyrose4", "#8B7D7B",
"moccasin", "#FFE4B5",
"navajowhite",...
2010 Jul 05
3
Problemas para graficar barras de error y fechas en el eje-x (SOLUCIONADO)
...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= c(0,100),
>>> main = "Death Rates in Virginia", font.main = 4,
>>> sub = "Faked upper 2*sigm...