# Problem using PlotLegend

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

```

• Prev by Date: how to print in the same screen place?
• Next by Date: Re: plot coloring
• Prev by thread: how to print in the same screen place?
• Next by thread: Problem using PlotLegend