Re: Making Transparent Legend Backgrounds
- To: mathgroup at smc.vnet.net
- Subject: [mg89624] Re: [mg89606] Making Transparent Legend Backgrounds
- From: Curtis Osterhoudt <cfo at lanl.gov>
- Date: Sun, 15 Jun 2008 06:14:03 -0400 (EDT)
- Organization: LANL
- References: <200806140931.FAA22915@smc.vnet.net>
- Reply-to: cfo at lanl.gov
Here's what I came up with after a bit of experimenting (in Version 6):
Plot[x Sin[x], {x, -10, 10},
PlotLegend -> {"Targets", "Dynamic MVPs"},
LegendPosition -> {-0.8, -0.4}, LegendTextSpace -> 6,
LegendBackground -> Opacity[0], ShadowBackground -> Opacity[0]
]
Hope that helps!
C.O.
On Saturday 14 June 2008 03:31:28 Gregory Lypny wrote:
> Hello,
>
> Can anyone tell me how to make the background of a plot legend
> transparent? Apparently, I can't use LegendBackground unless
> LegendShadow is not set to None, but I don't want a shadow! This is
> what I've got so far.
>
> PlotLegend->{ "Targets","Dynamic MVPs"},
> LegendShadow->None,
> LegendPosition->{-0.8,-0.4},
> LegendTextSpace->6
>
> Any tips would be much appreciated.
>
> Regards,
>
> Gregory
--
==========================================================
Curtis Osterhoudt
cfo at remove_this.lanl.and_this.gov
PGP Key ID: 0x4DCA2A10
Please avoid sending me Word or PowerPoint attachments
See http://www.gnu.org/philosophy/no-word-attachments.html
==========================================================
- References:
- Making Transparent Legend Backgrounds
- From: Gregory Lypny <gregory.lypny@videotron.ca>
- Making Transparent Legend Backgrounds