Displaying 6 results from an estimated 6 matches for "yellowgreen".
2010 Nov 11
3
overlap histogram and density
...ensity line seem to shift to the right a little bit?
If you do have the same problem, what should we do to correct that?
Thank you.
par(mar=c(4,4,2,1.2),oma=c(0,0,0,0))
hist(datobs,prob=TRUE, main ="Volume of a catchment from four
stations",col="yellowgreen", cex.axis=1,
xlab="rainfall",ylab="Relative frequency", ylim= c(0,.003), xlim=c(0,1200))
lines(density(dd), lwd=3,col="red")
#legend("topright",c("observed","generated"),lty=c(0,1),fill=c("blue",""),b...
2010 Nov 22
1
plot start at origin
Hi r-users,
I would like my axes to intersect at (0,0). I tried xaxs="i",yaxs="i" but it
does not change anything. I hope anybody can help me with this problem. Here
is my code.
hist(datobs, prob=TRUE, main ="PDF of the sum of two
stations",col="yellowgreen", cex.axis=1.2,
xlab="Rainfall (mm)", ylab="Relative frequency", ylim= c(0,.008),
xlim=c(0,600),xaxs="i",yaxs="i")
lines(density(dd), lwd=3,col="red")
legend("topright", legend = c("observed","fitted"),
col...
2010 May 07
2
smooth line overlap with histogram
...01 2.445114e-01 1.826918e-01 1.236800e-01 7.965830e-02 4.978001e-02 3.048459e-02 1.839873e-02
[10] 1.098342e-02 6.500920e-03 3.821499e-03 2.233833e-03 1.299656e-03 7.531443e-04 4.349116e-04 2.494558e-04 1.365303e-04
[19] 6.142313e-05
barplot.x.location <-
barplot(hct, ylim=c(0,0.25),col="yellowgreen",
main="Observed data and fitted gamma sum",
xlab="Rainfall (mm)", ylab="Relative frequency",
names.arg = sq.50, axisnames = TRUE, axis.lty=1,
cex.axis= 0.8,cex.names= 0.8, xaxs='i', yaxs='i')
lines(x = barplot.x.location, y = pdf_formula.2*50,...
2024 May 07
2
Is there some way to customize colours for the View output?
...ee Rconsole), but adjusted downwards to show a whole number of rows and columns.
So if it works for the sizes, it could work for the colours. But after modifying
## Colours for console and pager(s)
# (see rwxxxx/etc/rgb.txt for the known colours).
background = gray9
normaltext = yellow
usertext = YellowGreen
highlight = golderod
I did not have success.
On the other hand, in the data.entry it is told that
The data entry window responds to X resources of class R_dataentry. Resources foreground, background and geometry are utilized.
But I do not know if this is related and how to modify those reso...
2011 Dec 12
3
windrose color ramp issue
...olor ramp.
Currently the color ramp works one of two ways:
#1) Holding the pedal colors fixed:
incrspeeds = 2 # fills out the increments argument
pedalcolors = c("darkblue","blue","royalblue","darkturquoise","forestgreen","green","yellowgreen","yellow4","yellow","orange","red","darkred","violetred","mediumorchid","purple")
#or 2) Making the pedal colors dynamic based on the increments and the
max wind speed.
incrspeeds = 2 # fills out the increments a...
2000 Feb 29
0
mapping of colornames into hsv: half way done
...quot;,
"whitesmoke", "#F5F5F5",
"yellow", "#FFFF00",
"yellow1", "#FFFF00",
"yellow2", "#EEEE00",
"yellow3", "#CDCD00",
"yellow4", "#8B8B00",
"yellowgreen", "#9ACD32"
)
, ncol=2, byrow=T)
and a quick retrieval function
name2col <- function(name){
i <- match(name, .ColorDataBase[, 1])
.ColorDataBase[i, 2]
}
# Ben Bolker's function
# not vectorized yet
color.to.rgb <- function(color) {
# given color as hexadecim...