Displaying 3 results from an estimated 3 matches for "linecolor".
Did you mean:
linecolors
2011 May 23
1
panel.first problem when plotting with formula
...nes and a background,
but it's not working with I plot using the formula.
I have some theories on what's happening, but even if my theory is right, I
don't know how to fix it.
Someone have a straightforward silver bullet?
Thank you,
Gene
bgfun = function(color='honeydew2',linecolor='grey45', addgridlines=TRUE){
tmp=par("usr")
rect(tmp[1], tmp[3], tmp[2], tmp[4], col=color)
if(addgridlines){
ylimits=par()$usr[c(3,4)]
abline(h=pretty(ylimits,10), lty=2, col=linecolor)
}
}
dat = data.frame(x=1:10,y=1:10)
## Works
plot(dat$x, dat...
2007 Jan 07
3
MDS in 3D
Hi,
I have tried to develop multidimensional scaling for 3D space using PCA without success, yet;-) Is there some application ready in R?
Cheers,
Atte
2011 May 02
2
Help with coloring segments on a plot
Hi. I need a very short piece of help regarding colouring segments plotted
on a graph.
When I am plotting segments for the graph, I am using "red" and "darkgreen
for the values "1" and "2" respectively. Heres the relevant line of code in
R:
+ col = c("red", "darkgreen")[line.colour.value])
I just need to extend this to refer to a larger