MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Making Transparent Legend Backgrounds

  • To: mathgroup at smc.vnet.net
  • Subject: [mg89675] Re: [mg89606] Making Transparent Legend Backgrounds
  • From: Gregory Lypny <gregory.lypny at videotron.ca>
  • Date: Tue, 17 Jun 2008 00:39:19 -0400 (EDT)
  • References: <200806140931.FAA22915@smc.vnet.net>

Thanks for the tip, Curtis.  It works well.  Now if only I could get  
rid of the legend's border the same way!

Regards,

	Gregory

On Sat, Jun 14, 2008, at 8:47 PM, Curtis Osterhoudt wrote:

>  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
> ==========================================================



  • Prev by Date: Re: 6.0.3
  • Next by Date: Re: Problems with FindRoot and recursive functions
  • Previous by thread: Re: Making Transparent Legend Backgrounds
  • Next by thread: Gradient fill as Background for Plot