Displaying 7 results from an estimated 7 matches for "grey10".
Did you mean:
gray10
2008 Mar 23
2
ggplot2 - legend for fill coulours
...crambled", in that the order
of the colours does not match the labels.
My code is below. Can anyone tell me how to get around this? (R 2.2.6
for Windows, ggplot2 version 2_0.5.7)
Thanks,
Pedro
library(ggplot2)
Data:
> plotdata2
x y group
1 1 0.1 grey30
2 2 0.2 grey30
3 3 0.3 grey10
4 4 0.4 grey90
5 1 0.1 grey30
6 2 0.2 grey60
7 3 0.3 grey60
8 4 0.4 grey90
9 1 0.1 grey60
10 2 0.2 grey10
11 3 0.3 grey90
12 4 0.4 grey30
13 1 0.1 grey90
14 2 0.2 grey60
15 3 0.3 grey10
16 4 0.4 grey10
> levels(plotdata2$group)
[1] "grey10" "grey30" "grey60"...
2011 Jun 24
1
try to generate graph for each element of my list
...ray50",
grid.lty="dotted")
legend("topleft",as.character(legenda$PAESE),bty="n",cex=1.7,lwd=5, ncol=2,
col=colori, horiz=F)
mtext("Fonte: Unctad, Pctas", side=1,line=5,adj=1,cex=1.8,col="grey20")
mtext(p, side=1,line=5,adj=0,cex=1.5,col="grey10")}}
dev.off()
rm(grafico)
})
The results is that I get the same graph for each element of my list.....
Someone knows how to get one graph for each element of my list pasting the
names' list element in the .png file??
Thanks for your attention!
2010 Aug 09
1
creating pdf of wireframe
...the line width I have
specified is not reproduced, and neither are the font sizes for the axis
labels. I'm an R novice, so I could really use some guidance.
Here is the code I am using (post1, post2, post3 are 3-dimensional
matrices):
newcols <- colorRampPalette(c("grey90", "grey10")) #generates palette frome
light to dark grey for better visibility
trellis.device(pdf,file="PostAll.pdf", width = 5, height = 5)
trellis.par.set("plot.line", list(lwd=0.15));
top.left <- wireframe(post1, xlab=list("p(adj-N)", cex=.7,
rot=30),ylab=list("...
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 Dec 15
2
Lattice graphics with combined plot types
The data is of two forms, ie one numeric and another ordinal ie 1.5 and
<.5. The X Value is a factor.
I'm trying to create a lattice conditioned plot with the following
characteristics:
1) The plot is conditioned using the form (Conductivity~Day|Valve)
2) The plot should use a barplot for the ordinal (<.5) and dots for the
numeric (1.5)
3) A line should be created specifying a
2010 Oct 20
2
histograms resulting from call to soil.texture
...19 0.5 2 8/8/2002 Six_Foot 6 31.25 55 13.75
330 DS 19 0.5 2 6/8/2002 Six_Foot 6 23.75 58.75 17.5"),header=T)
closeAllConnections()
library(plotrix)
soil.texture(soil.dat[,c(9,10,11)],main='',show.lines=TRUE,show.names=TRUE,pch=soil.dat$Region_Num,cex=soil.dat$Region_Sym,col.names="grey10",col.lines="grey30",col.symbols=soil.dat$Region_Col)
legend(x=0.10,y=0.9,c("Upstream","Downstream"),pch=c(1,20),col=c("blue","red"),bty="o",bg="white",box.col="white")
title(main="Soil Texture",line=-1,ce...
2000 Feb 29
0
mapping of colornames into hsv: half way done
...quot;#080808",
"grey4", "#0A0A0A",
"grey5", "#0D0D0D",
"grey6", "#0F0F0F",
"grey7", "#121212",
"grey8", "#141414",
"grey9", "#171717",
"grey10", "#1A1A1A",
"grey11", "#1C1C1C",
"grey12", "#1F1F1F",
"grey13", "#212121",
"grey14", "#242424",
"grey15", "#262626",
"grey16", "#292929&q...