I _think_ that the only way to do this is with grids and viewports. You
could capture a legend of a plot without alpha set, create an
appropriately dimensioned grid, print a plot (with alpha set and without
a legend) to a viewport, print the captured legend to another viewport
on the grid. Maybe a better way will show up in the responses.
Mark
The underlying principle of the legends is to make them appear as
similar as possible as the glyphs that actually occur on the plot. I
agree with you that this isn't always what you want for alpha
blending, but I'm not willing to make a special case for a single
aesthetic. What legends really need is some way to override the
defaults so that you can supply the other aesthetics yourself. I've
added a ticket to that affect:
http://github.com/hadley/ggplot2/issues/issue/109
Hadley
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/