Hi!
I want to draw a trellisPlot with plot.type="stackbar". Furthermore I
would like to change the color of the stackbars. Unfortunately when I
try to solve the problem with
trellis.device()
color <- trellis.par.get("stackbar")
color$fill.col[1] <- 3
trellis.par.set("stackbar", color)
I get the error message:
Problem in trellis.par.set("stackbar", color): different length in each
components
Use traceback() to see the call stack
I even have the same problem when I'm using
color <- trellis.par.get("stackbar") trellis.par.set("stackbar", color)
which seems quite strange to me.
Does anybody know this problem and can help me? I'm using S-Plus 6.2.
Thanks
Michel Piot
|