Displaying 7 results from an estimated 7 matches for "gcolor".
Did you mean:
color
2011 Dec 05
0
Rggobi pdf output
...usic.som[,3],
LFEner=d.music.som[,4],LFreq=d.music.som[,5],Map.1=d.music.som[,6],
Map.2=d.music.som[,7])
gg<-ggobi(d.music.som)
g<-gg[1]
#load edges
d.music.som.net<-f.ggobi.som.net(music.som)
edges(g) <- d.music.som.net + 62
# Color points according to type of music, and som net
gcolor<- rep(8,98)
gcolor[d.music.som$Type=="Rock"]<-6
gcolor[d.music.som$Type=="Classical"]<-4
gcolor[d.music.som$Type=="New wave"]<-1
glyph_color(g)<-gcolor
[[alternative HTML version deleted]]
2011 Dec 05
1
[rggobi] ggplot like pdf output
...usic.som[,3],
LFEner=d.music.som[,4],LFreq=d.music.som[,5],Map.1=d.music.som[,6],
Map.2=d.music.som[,7])
gg<-ggobi(d.music.som)
g<-gg[1]
#load edges
d.music.som.net<-f.ggobi.som.net(music.som)
edges(g) <- d.music.som.net + 62
# Color points according to type of music, and som net
gcolor<- rep(8,98)
gcolor[d.music.som$Type=="Rock"]<-6
gcolor[d.music.som$Type=="Classical"]<-4
gcolor[d.music.som$Type=="New wave"]<-1
glyph_color(g)<-gcolor
[[alternative HTML version deleted]]
2003 Sep 29
5
colours in dotchart (PR#4343)
Problem: neither fg or bg
nor color work properly in dotchart.
version: R-1.7.1 for windows
code which shows the errors:
x <-
matrix(rnorm(16),ncol=2,dimnames=list(paste("a",1:8,sep=""),c("before","afte
r")))
dotchart(x,fg="blue",bg="lightgrey")
dotchart(x,color=c("red","blue"))
Dr Ian J Wilson
Lecturer in
2011 Aug 17
2
dotchart vs. dotplot ... groups
...quot;, "B", "B", "C", "C", "C")),
var2=c(1,2,1,2,3,4,1,2,3),
var3=round(runif(9,1,10),1),
plotorder=9:1)
dta
windows(3,3)
dotchart(dta$var3[order(dta$var1, -dta$var2)], groups=dta$var1,
labels=dta$var2[order(dta$var1, -dta$var2)], cex=.75,
gcolor=c("blue", "red", "dark green"),
col=c(rep("blue",2), rep("red",4), rep("dark green",3)),
axes=NULL)
windows(3,3)
dotplot(data=dta, plotorder~var3, groups=var1, col=c("blue", "red", "dark green"),
scales...
2013 Apr 11
1
Dotchart per groups
...27L, 128L, 20L, 117L,
40L, 33L, 28L, 37L, 25L), class = "data.frame")
I use this codes (I made them more simple for this post)
# per groups (P1, S1, S8, R6)
dotchart(ZZ$N, cex=.7, groups= ZZ$f,
xlab= "N",
xlim = c(6, 13),
ylab= "f",
gcolor= "black", color=ZZ$color,
pch=ZZ$pchloc) # to distinguish between localites
# without groups
dotchart(ZZ$N, cex=.7,
xlab= "N",
xlim = c(6, 13),
ylab= "f",
gcolor= "black", color=ZZ$color,
pch=ZZ$pchloc) #...
2001 Jan 18
2
dotplot: character size of labels
Dear R users,
using dotplot (R1.2.0, WinNT4.0), I am trying to change the character size
of the labels of the points:
> # example
> data(VADeaths)
> dotplot(VADeaths, main = "Death Rates in Virginia - 1940")
> # I'd like to have smaller character size of the labels (for age and
population groups)
> ?dotplot
> # for argument "cex", this says:
2001 Jan 18
0
dotplot: character size of labels (PR#816)
...ot alter to
>
> for (i in 1:n) mtext(labs[i], side = 2, line = loffset,
> at = y[i], adj = 0, col = color, las = 2, cex = cex, ...)
>
> for (i in 1:nlevels(groups)) mtext(glabels[i], side = 2,
> line = goffset, at = gpos[i], adj = 0, col = gcolor,
> las = 2, cex = cex, ...)
>
> However, it really needs more than that to calculate the spaces for the
> labels correctly.
>
>
> --
> Brian D. Ripley, ripley@stats.ox.ac.uk
> Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ri...