Displaying 4 results from an estimated 4 matches for "grey28".
Did you mean:
grey20
2010 Apr 15
1
Unwanted boxes in legend
Dear all,
I am using the following code to generate a legend in my plot (consisting of both bars and points), but end up with boxes around my points:
legend(10, par("usr")[4], c("A", "B", "C", "D"), fill=c(NA,NA, "grey28", NA), pch=c(16,4,NA,18), col=c("red","blue","grey28","yellow"), lty=FALSE, bty="n", horiz=FALSE)
I want a box around the third element of the legend (to represent the bar 'fill' colour), but not for the others, where points are shown...
2010 Apr 15
1
Alignment of x-axis labels
Dear all,
I'm having trouble getting the correct spacing between x-axis labels on a barplot. This is the command I'm using to generate the plot:
temp <- barplot(precip, beside=TRUE, xaxt="n", las=1, xpd=FALSE, col="grey28", ylim=c(0, max(precip)))
Here is the structure of temp:
> str(temp)
?num [1:96, 1] 0.7 1.9 3.1 4.3 5.5 6.7 7.9 9.1 10.3 11.5 ...
And here is the structure of the data being plotted:
> str(precip)
?num [1:96] 1841 2871 9254 22335 30682 ...
> length(precip)
[1] 96
These are monthly...
2000 Feb 29
0
mapping of colornames into hsv: half way done
...363636",
"grey22", "#383838",
"grey23", "#3B3B3B",
"grey24", "#3D3D3D",
"grey25", "#404040",
"grey26", "#424242",
"grey27", "#454545",
"grey28", "#474747",
"grey29", "#4A4A4A",
"grey30", "#4D4D4D",
"grey31", "#4F4F4F",
"grey32", "#525252",
"grey33", "#545454",
"grey34", "#575757&q...
2010 Apr 15
4
Does "sink" stand for anything?
Hello Everyone,
Learning about R and its wonderful array of functions. If it's not obvious, I usually try to find out what a function stands for. I think this helps me remember better.
One function that has me stumped is "sink." Can anyone tell me if this stands for something?
Thanks,
Paul
__________________________________________________
[[alternative HTML