[R] Reduce the space under legend title

2011-08-11 Thread Amelia McNamara
title to the space typically used between categories in a legend. plot(c(1.1, 2.3, 4.6), c(2.0, 1.6, 3.2), pch=c(1,2,3)) legend(x="bottomright", legend=c("Category 1", "Category 2", "Category 3"), title=expression(bold("Fairly long title")), pch=c

[R] Add png image outside plot borders

2011-09-18 Thread Amelia McNamara
I can plot a .png image inside the plot boundaries using rasterImage() but I can't figure out how to do it outside the boundaries. Any help would be great. If you know unicode or Adobe Symbol encoding for the CC logo, that might work too. ~Amelia McNamara Statistics PhD stu

Re: [R] Add png image outside plot borders

2011-09-18 Thread Amelia McNamara
ot just the picture), will clear up > all these questions and we can offer a solution tailored to what you > are doing. > > Cheers, > > Josh > > On Sun, Sep 18, 2011 at 1:18 PM, Amelia McNamara > wrote: >> I am trying to add a copyright disclaimer outside the plo

[R] Creating png of layered legend

2011-07-25 Thread Amelia McNamara
st recently plotted legend is captured. Saving as a pdf works, but the deliverable for this project is a png file and I would like to be able to produce them directly from R. Is there a way for me to capture both legends in a png? Or is there a better way for me to plot multiple symbols for a singl

Re: [R] Creating png of layered legend

2011-07-26 Thread Amelia McNamara
graphics grDevices utils datasets methods base Thanks for your help, I never would have realized I needed to use a transparent background. On Tue, Jul 26, 2011 at 2:22 AM, Barry Rowlingson < b.rowling...@lancaster.ac.uk> wrote: > On Tue, Jul 26, 2011 at 12:23 AM, Amelia McNamara > wr