Re: Re: PlotLegend not an option for PLot? 5.1
- To: mathgroup at smc.vnet.net
- Subject: [mg53707] Re: [mg53692] Re: PlotLegend not an option for PLot? 5.1
- From: yehuda ben-shimol <benshimo at bgumail.bgu.ac.il>
- Date: Mon, 24 Jan 2005 03:37:28 -0500 (EST)
- References: <200501230702.CAA11102@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Yes Bill, You are right (and I'm apologize for that, it just looked too basic even to try it, since I worked quite a bit with PlotLegend, but eventually never tried to set a permanent setting for it as ). I checked again, and loading the "Legend" package DO NOT change the options of Plot (although written differently in the help for the PlotLegend), that is op=Options[Plot]; <<Graphics`Legend`; op1=Options[Plot]; op==op1 returns True. Moreover, g=Plot[Sin[x],{x,0,2Pi},PlotLegend->"Sin"]; and PlotLegend does not appear in AbsoluteOptions[g] (but other options of Plot do such as Ticks do appear). However, it seems that PlotLegend effects the "Graphics`Legend`Private`text$..." variable. Does anyone have an idea what is going on here (I'll look later if there is something relevant in M. Trott's book on graphics) (apologizing again) yehuda Bill Rowe wrote: >On 1/22/05 at 3:51 AM, benshimo at bgumail.bgu.ac.il (yehuda >ben-shimol) wrote: > > > >>You need to load the Graphics`Legend` Package first. >> >> > > > >><< Graphics`Legend` >> >> > > > >>Then it will be an option for Plot >> >> > >I think you posted this before trying it since > >In[1]:= >$Version ><< "Graphics`Legend`"; >$ContextPath >SetOptions[Plot, PlotLegend -> {"y", "t"}] > >Out[1]= >"5.1 for Mac OS X (October 25, 2004)" > >Out[3]= >{"Graphics`Legend`", "Utilities`CleanSlate`", .... > >Out[4]= >SetOptions[Plot, PlotLegend -> {"y", "t"}] > >From In[5]:= >SetOptions::"optnf":"PlotLegend is not a known option for Plot\)... >-- >To reply via email subtract one hundred and four > > >
- References:
- Re: PlotLegend not an option for PLot? 5.1
- From: Bill Rowe <readnewsciv@earthlink.net>
- Re: PlotLegend not an option for PLot? 5.1