Re: [R] Fitting Legend to Matrix Plot

2015-03-05 Thread Michael Friendly
Why not make the legend fit on one line above or below the plot matrix? ?legend -- look at ncol=, horiz= and xpd= args On 3/4/2015 4:39 PM, Rich Shepard wrote: I have a matrix plot of ternary diagrams (pdf attached) generated with these commands: opar - par(xpd=NA,no.readonly=T)

Re: [R] Fitting Legend to Matrix Plot

2015-03-05 Thread Rich Shepard
On Thu, 5 Mar 2015, Michael Friendly wrote: Why not make the legend fit on one line above or below the plot matrix? ?legend -- look at ncol=, horiz= and xpd= args Michael, That's just the pointer I was hoping to see. There's no reason not to have the legend outside the plot matrix and now

[R] Fitting Legend to Matrix Plot

2015-03-04 Thread Rich Shepard
I have a matrix plot of ternary diagrams (pdf attached) generated with these commands: opar - par(xpd=NA,no.readonly=T) plot(WintersY, pch=as.numeric(WintersX4), col=c(black,red,green,blue,yellow,orange)[WintersX4]) legend(x=0.75, y=0.0, abbreviate(levels(WintersX4),