Displaying 2 results from an estimated 2 matches for "greypalette".
2011 Sep 07
1
greyPalette() in legend plot
...t;, main="Root", names.arg=c("White","Blue","Red","Far-red"))
> segments(plot,y-se,plot,y+se)
> legend("topleft", c("Sedingehult", "Mobranna", "Aunasvare", "Fallan", "Ylinen"), col=(greyPalette(n=5)))
Kind regards
Rosario
2005 Dec 13
4
Ploting graphics using X tints from a color
Hi,
I'm trying to draw a 2D plot using multiple tints of red. The
(simplified) setup is the following: || year | x | y ||
My idea is that each year is plotted with a different tint of red.
Older year (lightest) -> Later year (darkest). I've managed to plot
this with different scales of grays simply by doing:
palette(gray(length(years):0/length(years)))
before the plot and for each