Problem using PlotLegend
- To: mathgroup@smc.vnet.net
- Subject: [mg10469] Problem using PlotLegend
- From: Nils Ackermann <Nils.Ackermann@math.uni-giessen.de>
- Date: Fri, 16 Jan 1998 04:34:54 -0500
- Organization: University of Giessen, Germany
Hi, I'm fairly new to Mathematica (3.0) and encountered the following problem: In[64]:= Needs["Graphics`Legend`"]; In[65]:= $Packages Out[65]= {"Graphics`Legend`","Utilities`FilterOptions`", "Graphics`Common`GraphicsCommon`","Global`","System`"} In[66]:= aufg34=Plot[{x1[t],x2[t],x3[t],x4[t],x5[t]},{t,tmin,tmax}, PlotRange->{xlow,xhigh}, PlotStyle->{GrayLevel[0],Dashing[{0.02,0.02}], Dashing[{0.002,0.02,0.02,0.02}], Dashing[{0.002,0.02,0.002,0.02,0.02,0.02}],Dashing[{0.002,0.02}]}, PlotLegend->{"a=-2","a=-1","a=0","a=1","a=2"}]; Plot::"optx": "Unknown option \!\(PlotLegend\) in \!\(Plot[\(\({\(x1[t]\), \(x2[t]\), \ \(x3[t]\), \(x4[t]\), \(x5[t]\)}\), \(\\[LeftSkeleton] 3 \\[RightSkeleton]\), \ \(PlotLegend \\[Rule] \(\\[LeftSkeleton] 1 \\[RightSkeleton]\)\)\)]\)." As you can see, I tried to load `Legend', and line 65 shows that it worked. But the option `PlotLegend' is not recognized in line 66, why? Any help or hints would be appreciated. Thanks Nils