Displaying 3 results from an estimated 3 matches for "steelblue2".
Did you mean:
steelblue
2008 Mar 23
2
(no subject)
...pe in the same plot. I would like to make the points different colors for various levels of a variable. I have tried a simple 'if' statement in the plot command, but I get an error message. Here is what I have tried and the error message I get: > plot(test, if(test[,1]<8) col="steelblue2" else col="wheat2")Error in xy.coords(x, y, xlabel, ylabel, log) : 'x' and 'y' lengths differIn addition: Warning message:In if (test[, 1] < 8) col = "steelblue2" else col = "wheat2" : the condition has length > 1 and only the first elemen...
2011 Jul 11
1
Dibujo con función polygon
Hola,
Estoy intentando dibujar una curva, pero que esté divivida por la mitad en
dos colores:
plot( seq(0, 100,by=1), seq(0,1,by=0.01), bty = "n",col = "white")
x <- c(50: 100)
y <- 20*x^-1
polygon( c(50,50, c(52:100),100 ) , c(1,y[1:50],1), col = "steelblue2",
border = NA)
x <- c( 0: 50 )
y <- 20*x^-1
polygon( c(c(21:50), 50 ) , c(y[21:50],1), col = "black", border = NA)
El problema es que hay un pequeño punto que se sale de la curva esperada,
justo en la intersección de los dos poligonos, alguien tiene alguna
sugerencia para...
2000 Feb 29
0
mapping of colornames into hsv: half way done
...uot;#607B8B",
"lightslateblue", "#8470FF",
"lightslategray", "#778899",
"lightslategrey", "#778899",
"lightsteelblue", "#B0C4DE",
"lightsteelblue1", "#CAE1FF",
"lightsteelblue2", "#BCD2EE",
"lightsteelblue3", "#A2B5CD",
"lightsteelblue4", "#6E7B8B",
"lightyellow", "#FFFFE0",
"lightyellow1", "#FFFFE0",
"lightyellow2", "#EEEED1",
"l...