s-news
[Top] [All Lists]

trelllis

To: <s-news@lists.biostat.wustl.edu>
Subject: trelllis
From: <michel.piot@bfe.admin.ch>
Date: Fri, 20 Oct 2006 11:17:55 +0200
Thread-index: Acb0KKA7fSuoQBPDQ1Kj7u8rqmK14w==
Thread-topic: trelllis
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



<Prev in Thread] Current Thread [Next in Thread>