MathGroup Archive 1998

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

Search the Archive

Problem using PlotLegend



Hi,

Seems like the first one didn't get through, here is another try.

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: Can anyone recommend a book?
  • Next by Date: Re: How to learn formatting options
  • Prev by thread: Problem using PlotLegend
  • Next by thread: Re: Problem using PlotLegend