search for: bgcol

Displaying 5 results from an estimated 5 matches for "bgcol".

Did you mean: gcol
2010 Jun 02
1
how to label the som notes by the majority vote
...2classvec(outcome.xyf)) #change matrix to vectors. outcome.label<-LETTERS[outcome.predict] #conver the numeric value to letters. plot(final.xyf, type="property", property=outcome.predict, labels=outcome.label, palette.name =rainbow, main="Prediction ") cl <- colors() bgcols <- cl[2:14] plot(final.xyf, type="mapping", labels=outcome.label, col="black", bgcol=bgcols[as.integer(outcome.predict)], main="Mapping plot") -- Sincerely, Changbin -- -------------- next part -------------- A non-text attachment was scrubbed... Nam...
2008 May 23
1
Line Breaks and Axis breaks..
...rting an axis break using the following code, how to I adjust the scales on either side of that axis break? This is for a boxplot graph. See attachment... there is an outlier under CLI 5 that can't be seen as a result. >install.packages("plotrix") axis.break(axis=1, breakpos=NULL, bgcol="white", breakcol="black", style="gap", brw=0.02) Thank you very much in advance! Megan Bellamy
2008 Jul 28
2
axis.break on Date-x-axis in lattice xyplot
...ot;Date") library(lattice) library(plotrix) P<-xyplot(df$value~df$Date|df$variable, scales=list(x=list(at=Periode,rot=60,tck=-1,format="%d.%b.%Y",alternating=F), y=list(relation="free",rot=0 )), axis.break(axis=1, breakpos="2007-01-01",style="gap",bgcol="white",breakcol="black",brw=0.1) ) This code is resulting in an error,  the problem is the specification of the breakpos-Argument, but I don´t know what "user units" in this case are. Can anyone help me? Thanks, Henning -- [[alternative HTML version de...
2010 Sep 09
4
Axis break with gap.plot()
Hi everyone. I'm trying to break the y axis on a plot. For instance, I have 2 series (points and a loess). Since the loess is a "continuous" set of points, it passes in the break section. However, with gap.plot I cant plot the loess because of this (I got the message "some values of y will not be displayed"). Here's my code: library(plotrix); #generate some data x
2008 Jun 25
3
gap.boxplot error message?
Hello, When I put in the following script line: gap.boxplot(CLI3, CLI4, CLI5, CLI6, CLI7, gap=list(top=c(8000,280000), bottom=c(0,250)), range=50, outline=TRUE, par(ask=FALSE) I get a '+' telling me I am missing something. I have tried adding ')', 'width=NULL', etc and then I get this error: Error: unexpected symbol in: "gap.boxplot(CLI3, CLI4, CLI5, CLI6, CLI7,