Hi all, Partly in response to a request for a filled triangular plot, analogous to image (but more like color2D.matplot), I have uploaded a new version of plotrix. There is now a triax.fill function that displays such a plot. I am particularly interested in comment on this as I have more or less guessed what someone who wanted to display some variable as colors on a plot of three proportions would want. Also included is the renaissance version of barNest, which used to be called hierobarp. This was also in response to a request quite some time ago for a nested bar plot and I think it has finally settled down. As always, I am relying on you to find any problems, so feel free to have an Easter Bug Hunt if it tickles your fancy. Jim
Hi, And thanks for the great package. I was using it to output a color table map for a financial returns matrix. I like that the fact that I can output a table of values with corresponding colors, which I was asking about on an earlier thread. Any way to get each box to have a dark black line border? ex: library(plotrix) x<-matrix(rnorm(30),6,5) cellcol[x>0]<-c("green") cellcol[x<0]<-c("red") color2D.matplot(x=round(x,2),cellcolors=cellcol,show.values=TRUE,main="Association plot") thanks! Rtist -- View this message in context: http://n4.nabble.com/plotrix-2-8-4-tp1678574p1678576.html Sent from the R help mailing list archive at Nabble.com.
On 03/23/2010 01:16 PM, rtist wrote:> > Hi, > And thanks for the great package. I was using it to output a color table > map for a financial returns matrix. > I like that the fact that I can output a table of values with corresponding > colors, which I was asking about on an earlier thread. > > Any way to get each box to have a dark black line border? >Hi Rtist, Congratulations, you have won the Easter Bug Hunt by finding the first bug in plotrix_2.8-4 in a mere 5 minutes! Never let it be said that the correspondents to the R help list let me get too uppity. The bad news is that you will have to wait for the next version of plotrix or make this change to line 55 in the function (it may be different if comment lines are not there): col=cellcolors,border=border) Jim