Displaying 6 results from an estimated 6 matches for "darkmagenta".
2010 Jun 30
2
ggplot qplot bar removing bars when truncating scale
...eom="bar",stat="identity",position="dodge",binwidth=2,ylab=NULL,xlab=NULL,width=.75)
#With 0-6 Scale
p + scale_x_discrete(expand=c(0,0)) +
scale_y_continuous(limits=c(0,7),breaks=seq(from=0,to=6,by=.5),expand=c(0,0))
+
coord_flip() +
scale_fill_manual(values=c("darkmagenta","lightgoldenrod1")) +
opts(
panel.background = theme_rect(colour = NA),
panel.background = theme_blank(),
panel.grid.minor = theme_blank(),
axis.title.x= theme_blank(),
axis.title.y= theme_blank(),
axis.text.y=theme_text(size=12,hjust=1),
legend.text=theme_tex...
2013 Feb 25
1
colors to pie chart.
...;0", 1), rep("1", 16), rep("2", 14), rep("3", 12), rep("4", 3), rep("5", 2), rep("6", 2)))
##this runs just fine.
pie(table(TVs))
##however, when i add:
colors <- c("cyan3","magenta","darkblue","darkmagenta","darkred", "darkgoldenrod1", "deeppink")
##and then:
pie(table(TVs, col=colors))
i receive this error.
Error in table(TVs, col = colors) :
all arguments must have the same length
i have tried it a few different ways (changing color names, adding cex argume...
2011 Apr 13
0
Clustering help in Heat Maps
...y(gplots)
#===========Cyto=========
#x=read.table("Cyto_shoot.txt", header=TRUE)
mat=data.matrix(x)
heatmap.2(mat,
# c('red','green','orange','blue','yellow',
'gray','black','brown','aquamarine3','cyan',
'darkmagenta','darkviolet','green4'))
col=colorRampPalette(c("green","white","red"))(256),
#col=greenred(75),
#col = cm.colors(256),
#bgStyle="3D Rectangle",
#bgGradientMode=" Diagonal Edge",
Rowv=TRUE,
Colv=FALSE,
distfun = dist,
hclustfun...
2011 Jul 13
3
Colors in R
...ot;, header=T, sep=",", stringsAsFactors= F)
data$Pt <-as.numeric(data$Pt)
npts <- unique(data$Pt)
xrange = c(min(data$Coordinate), max(data$Coordinate))
yrange = c(min(data$Log2Ratio), max(data$Log2Ratio))
colors <-c("red","blue","green","darkmagenta","darkgreen","darkorange","darkred","gold","midnightblue","seagreen1","tomato","slateblue","violet","purple4","palegreen","darkviolet","forestgreen","firebrick...
2000 Feb 29
0
mapping of colornames into hsv: half way done
...uot;darkgoldenrod3", "#CD950C",
"darkgoldenrod4", "#8B6508",
"darkgray", "#A9A9A9",
"darkgreen", "#006400",
"darkgrey", "#A9A9A9",
"darkkhaki", "#BDB76B",
"darkmagenta", "#8B008B",
"darkolivegreen", "#556B2F",
"darkolivegreen1", "#CAFF70",
"darkolivegreen2", "#BCEE68",
"darkolivegreen3", "#A2CD5A",
"darkolivegreen4", "#6E8B3D",...
2011 Jan 11
0
modified FAST Script from package SensoMineR for the R community - Reg
...rod", "darkgreen", "violet",
"turquoise", "orange", "lightpink", "lavender", "yellow",
"lightgreen", "lightgrey", "lightblue", "darkkhaki",
"darkmagenta", "darkolivegreen", "lightcyan", "darkorange",
"darkorchid", "darkred", "darksalmon", "darkseagreen",
"darkslateblue", "darkslategray", "darkslategrey",
&q...