search for: pathbarchartfge

Displaying 2 results from an estimated 2 matches for "pathbarchartfge".

2008 Nov 18
1
legend color problems
...a col argument into auto.key uses the new palette with the legend text, but not in the rectangle fill. What am I missing? TIA Joachim ---------code --------- library("lattice") library("RColorBrewer") # palette auswählen mypalette <- brewer.pal(7,"Accent") pathBarchartFGE <- function(selector,data,dimension = 2,title = NULL,p = mypalette) { # umwandeln für lattice Grafiken dfvar <- as.data.frame.table(data) names(dfvar) <- c("Zeitraum","FGG","Pfad","Fracht") dfsel <- subset(dfvar,dfvar$FGG %in% selector) barch...
2008 Nov 20
1
Repost:lattice graphics -- legend color problems
...dding a col argument into auto.key uses the new palette with the legend text, but not in the rectangle fill. What am I missing? TIA Joachim ---------code --------- library("lattice") library("RColorBrewer") # palette ausw?hlen mypalette <- brewer.pal(7,"Accent") pathBarchartFGE <- function(selector,data,dimension = 2,title = NULL,p = mypalette) { # umwandeln f?r lattice Grafiken dfvar <- as.data.frame.table(data) names(dfvar) <- c("Zeitraum","FGG","Pfad","Fracht") dfsel <- subset(dfvar,dfvar$FGG %in% selector) barchart(Z...